org.eclipse.ocl.examples.pivot
Interface Class

All Superinterfaces:
Element, org.eclipse.emf.ecore.EObject, java.lang.Iterable<Class>, MonikeredElement, Nameable, NamedElement, Namespace, org.eclipse.emf.common.notify.Notifier, ParameterableElement, PivotObject, TemplateableElement, Type, Visitable
All Known Subinterfaces:
AnyType, AssociationClass, BagType, ClassifierType, CollectionType, DataType, Enumeration, InvalidType, LambdaType, OrderedSetType, PrimitiveType, SequenceType, SetType, TupleType, UnspecifiedType, VoidType
All Known Implementing Classes:
AnyTypeImpl, AssociationClassImpl, BagTypeImpl, ClassifierTypeImpl, ClassImpl, CollectionTypeImpl, DataTypeImpl, EnumerationImpl, InvalidTypeImpl, LambdaTypeImpl, OrderedSetTypeImpl, PrimitiveTypeImpl, SequenceTypeImpl, SetTypeImpl, TupleTypeImpl, UnspecifiedTypeImpl, VoidTypeImpl

public interface Class
extends Type, Namespace, java.lang.Iterable<Class>

A representation of the model object 'Class'.

See Also:
PivotPackage.getClass_()
Generated
Model

Method Summary
 Property createOwnedAttribute()
          Creates a new Property and appends it to the 'Owned Attribute' containment reference list.
 Operation createOwnedOperation()
          Creates a new Operation and appends it to the 'Owned Operation' containment reference list.
 Operation createOwnedOperation(org.eclipse.emf.ecore.EClass eClass)
          Creates a new Operation and appends it to the 'Owned Operation' containment reference list.
 org.eclipse.emf.common.util.EList<Property> getOwnedAttributes()
          Returns the value of the 'Owned Attribute' containment reference list.
 org.eclipse.emf.common.util.EList<Operation> getOwnedOperations()
          Returns the value of the 'Owned Operation' containment reference list.
 org.eclipse.emf.common.util.EList<Class> getSubClasses()
          Returns the value of the 'Sub Class' reference list.
 org.eclipse.emf.common.util.EList<Class> getSuperClasses()
          Returns the value of the 'Super Class' reference list.
 boolean isAbstract()
          Returns the value of the 'Is Abstract' attribute.
 boolean isInterface()
          Returns the value of the 'Is Interface' attribute.
 void setIsAbstract(boolean value)
          Sets the value of the 'Is Abstract' attribute.
 void setIsInterface(boolean value)
          Sets the value of the 'Is Interface' attribute.
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Type
getInstanceClassName, getPackage, setInstanceClassName, setPackage
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.TemplateableElement
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, getUnspecializedElement, isTemplate, parameterableElements, setOwnedTemplateSignature, setUnspecializedElement
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.ParameterableElement
getOwningTemplateParameter, getTemplateParameter, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.NamedElement
createOwnedAnnotation, createOwnedRule, getName, getOwnedAnnotations, getOwnedRules, isStatic, setIsStatic, setName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.MonikeredElement
getMoniker, hasMoniker, setMoniker
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element
createOwnedComment, getETarget, getOwnedComments
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.util.Visitable
accept, eClass
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

isAbstract

boolean isAbstract()
Returns the value of the 'Is Abstract' attribute. The default value is "false". True when a class is abstract.

Returns:
the value of the 'Is Abstract' attribute.
See Also:
setIsAbstract(boolean), PivotPackage.getClass_IsAbstract()
Generated
Model
default="false" dataType="org.eclipse.ocl.examples.pivot.Boolean" required="true" ordered="false"

setIsAbstract

void setIsAbstract(boolean value)
Sets the value of the 'Is Abstract' attribute.

Parameters:
value - the new value of the 'Is Abstract' attribute.
See Also:
isAbstract()
Generated

getOwnedAttributes

org.eclipse.emf.common.util.EList<Property> getOwnedAttributes()
Returns the value of the 'Owned Attribute' containment reference list. The list contents are of type Property. It is bidirectional and its opposite is 'Class'. The attributes owned by a class. These do not include the inherited attributes. Attributes are represented by instances of Property.

Returns:
the value of the 'Owned Attribute' containment reference list.
See Also:
PivotPackage.getClass_OwnedAttribute(), Property.getClass_()
Generated
Model
opposite="class" containment="true"

createOwnedAttribute

Property createOwnedAttribute()
Creates a new Property and appends it to the 'Owned Attribute' containment reference list.

Returns:
The new Property.
See Also:
getOwnedAttributes()
Generated

getOwnedOperations

org.eclipse.emf.common.util.EList<Operation> getOwnedOperations()
Returns the value of the 'Owned Operation' containment reference list. The list contents are of type Operation. It is bidirectional and its opposite is 'Class'. The operations owned by a class. These do not include the inherited operations.

Returns:
the value of the 'Owned Operation' containment reference list.
See Also:
PivotPackage.getClass_OwnedOperation(), Operation.getClass_()
Generated
Model
opposite="class" containment="true"

createOwnedOperation

Operation createOwnedOperation(org.eclipse.emf.ecore.EClass eClass)
Creates a new Operation and appends it to the 'Owned Operation' containment reference list.

Parameters:
eClass - The Ecore class of the Operation to create.
Returns:
The new Operation.
See Also:
getOwnedOperations()
Generated

createOwnedOperation

Operation createOwnedOperation()
Creates a new Operation and appends it to the 'Owned Operation' containment reference list.

Returns:
The new Operation.
See Also:
getOwnedOperations()
Generated

getSuperClasses

org.eclipse.emf.common.util.EList<Class> getSuperClasses()
Returns the value of the 'Super Class' reference list. The list contents are of type Class. The immediate superclasses of a class, from which the class inherits.

Returns:
the value of the 'Super Class' reference list.
See Also:
PivotPackage.getClass_SuperClass()
Generated
Model
ordered="false"

isInterface

boolean isInterface()
Returns the value of the 'Is Interface' attribute. The default value is "false".

If the meaning of the 'Interface' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Is Interface' attribute.
See Also:
setIsInterface(boolean), PivotPackage.getClass_IsInterface()
Generated
Model
default="false" dataType="org.eclipse.ocl.examples.pivot.Boolean" required="true" ordered="false"

setIsInterface

void setIsInterface(boolean value)
Sets the value of the 'Is Interface' attribute.

Parameters:
value - the new value of the 'Is Interface' attribute.
See Also:
isInterface()
Generated

getSubClasses

org.eclipse.emf.common.util.EList<Class> getSubClasses()
Returns the value of the 'Sub Class' reference list. The list contents are of type Class.

If the meaning of the 'Sub Class' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Sub Class' reference list.
See Also:
PivotPackage.getClass_SubClass()
Generated
Model
resolveProxies="false" transient="true" ordered="false"