|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Class
A representation of the model object 'Class'.
PivotPackage.getClass_()
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 |
---|
boolean isAbstract()
"false"
.
True when a class is abstract.
setIsAbstract(boolean)
,
PivotPackage.getClass_IsAbstract()
void setIsAbstract(boolean value)
Is Abstract
' attribute.
value
- the new value of the 'Is Abstract' attribute.isAbstract()
org.eclipse.emf.common.util.EList<Property> getOwnedAttributes()
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.
PivotPackage.getClass_OwnedAttribute()
,
Property.getClass_()
Property createOwnedAttribute()
Property
and appends it to the 'Owned Attribute' containment reference list.
Property
.getOwnedAttributes()
org.eclipse.emf.common.util.EList<Operation> getOwnedOperations()
Operation
.
It is bidirectional and its opposite is 'Class
'.
The operations owned by a class. These do not include the inherited operations.
PivotPackage.getClass_OwnedOperation()
,
Operation.getClass_()
Operation createOwnedOperation(org.eclipse.emf.ecore.EClass eClass)
Operation
and appends it to the 'Owned Operation' containment reference list.
eClass
- The Ecore class of the Operation
to create.
Operation
.getOwnedOperations()
Operation createOwnedOperation()
Operation
and appends it to the 'Owned Operation' containment reference list.
Operation
.getOwnedOperations()
org.eclipse.emf.common.util.EList<Class> getSuperClasses()
Class
.
The immediate superclasses of a class, from which the class inherits.
PivotPackage.getClass_SuperClass()
boolean isInterface()
"false"
.
If the meaning of the 'Interface' attribute isn't clear, there really should be more of a description here...
setIsInterface(boolean)
,
PivotPackage.getClass_IsInterface()
void setIsInterface(boolean value)
Is Interface
' attribute.
value
- the new value of the 'Is Interface' attribute.isInterface()
org.eclipse.emf.common.util.EList<Class> getSubClasses()
Class
.
If the meaning of the 'Sub Class' reference list isn't clear, there really should be more of a description here...
PivotPackage.getClass_SubClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |