public class AbstractExecutorClass extends AbstractExecutorType implements Class
AbstractInheritance.FragmentIterableABSTRACT, OCL_ANY, OCL_INVALID, OCL_VOID, ORDERED, UNIQUEEMPTY_ARRAY| Constructor and Description |
|---|
AbstractExecutorClass(String name,
int flags) |
| Modifier and Type | Method and Description |
|---|---|
EObject |
createInstance()
Return a new instance of this type from valueFactory.
|
Object |
createInstance(String value)
Return a new instance of this data type from valueFactory.
|
Class |
getBehavioralClass() |
List<StereotypeExtender> |
getExtenders()
Returns the value of the 'Extenders' reference list.
|
CompleteInheritance |
getInheritance(StandardLibrary standardLibrary)
Return the inheritance description for this type within standardLibrary.
|
String |
getInstanceClassName()
Returns the value of the 'Instance Class Name' attribute.
|
String |
getMetaTypeName()
Return the name of the meta-type of this type.
|
List<Behavior> |
getOwnedBehaviors()
Returns the value of the 'Owned Behaviors' containment reference list.
|
List<TemplateBinding> |
getOwnedBindings()
Returns the value of the 'Owned Bindings' containment reference list.
|
List<Constraint> |
getOwnedConstraints()
Returns the value of the 'Owned Constraints' containment reference list.
|
List<Constraint> |
getOwnedInvariants()
Returns the value of the 'Owned Invariants' containment reference list.
|
List<Operation> |
getOwnedOperations()
Returns the value of the 'Owned Operations' containment reference list.
|
List<Property> |
getOwnedProperties()
Returns the value of the 'Owned Properties' containment reference list.
|
TemplateSignature |
getOwnedSignature()
Returns the value of the 'Owned Signature' containment reference.
|
Package |
getOwningPackage()
Returns the value of the 'Owning Package' container reference.
|
List<Class> |
getSuperClasses()
Returns the value of the 'Super Classes' reference list.
|
TemplateParameters |
getTypeParameters()
Return the ordered list of type parameters of this type.
|
TemplateableElement |
getUnspecializedElement()
Returns the value of the 'Unspecialized Element' reference.
|
boolean |
isIsAbstract()
Returns the value of the 'Is Abstract' attribute.
|
boolean |
isIsActive()
Returns the value of the 'Is Active' attribute.
|
boolean |
isIsInterface()
Returns the value of the 'Is Interface' attribute.
|
boolean |
isIsSerializable() |
boolean |
isOrdered()
Return true if this type is a Collection type and has ordered elements.
|
boolean |
isUnique()
Return true if this type is a Collection type and has unique elements.
|
void |
setBehavioralClass(Class value) |
void |
setInstanceClassName(String value)
Sets the value of the '
Instance Class Name' attribute. |
void |
setIsAbstract(boolean value)
Sets the value of the '
Is Abstract' attribute. |
void |
setIsActive(boolean value)
Sets the value of the '
Is Active' attribute. |
void |
setIsInterface(boolean value)
Sets the value of the '
Is Interface' attribute. |
void |
setIsSerializable(boolean value) |
void |
setOwnedSignature(TemplateSignature value)
Sets the value of the '
Owned Signature' containment reference. |
void |
setOwningPackage(Package value)
Sets the value of the '
Owning Package' container reference. |
void |
setUnspecializedElement(TemplateableElement value)
Sets the value of the '
Unspecialized Element' reference. |
boolean |
validateNameIsNotNull(DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateUniqueInvariantName(DiagnosticChain diagnostics,
Map<Object,Object> context) |
conformsTo, flattenedType, getAllProperSuperFragments, getAllSuperFragments, getCommonType, getDepth, getFragment, getFragments, getIndex, getIndexes, getMemberOperation, getMemberProperty, getNormalizedType, getPivotClass, getSelfFragment, getSuperFragments, getTypeId, isClass, isEqualTo, isEqualToUnspecializedType, isTemplateParameter, oclEquals, oclHashCode, specializeIngetCommonInheritance, getFragment, getType, initStatics, isInvalid, isOclAny, isSubInheritanceOf, isSuperInheritanceOf, isUndefined, lookupActualOperation, lookupImplementation, lookupLocalOperationgetName, setNameaccept, allOwnedElements, eAdapters, eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eDeliver, eGet, eGet, eInvoke, eIsProxy, eIsSet, eNotify, eResource, eSet, eSetDeliver, eUnset, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValueequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlookupActualOperation, lookupImplementationconformsTo, flattenedType, getCommonType, getNormalizedType, getTypeId, isClass, isEqualTo, isEqualToUnspecializedType, isTemplateParameter, specializeInoclEquals, oclHashCodegetName, setNameaccept, allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValuepublic AbstractExecutorClass(String name, int flags)
public EObject createInstance()
ClassProperty.initValue(Object, Object) provided no side-effect free
OCL functionality is permitted to use the ObjectValue until initialisation has completed.createInstance in interface Classpublic Object createInstance(String value)
ClasscreateInstance in interface Classvalue - string initial valuepublic Class getBehavioralClass()
public List<StereotypeExtender> getExtenders()
ClassStereotypeExtender.
It is bidirectional and its opposite is 'Class'.
If the meaning of the 'Extenders' reference list isn't clear, there really should be more of a description here...
getExtenders in interface ClassPivotPackage.getClass_Extenders(),
StereotypeExtender.getClass_()public CompleteInheritance getInheritance(StandardLibrary standardLibrary)
TypegetInheritance in interface TypegetInheritance in class AbstractExecutorTypepublic String getInstanceClassName()
ClassIf the meaning of the 'Instance Class Name' attribute isn't clear, there really should be more of a description here...
getInstanceClassName in interface ClassClass.setInstanceClassName(String),
PivotPackage.getClass_InstanceClassName()public String getMetaTypeName()
ClassgetMetaTypeName in interface Classpublic List<Behavior> getOwnedBehaviors()
ClassBehavior.
If the meaning of the 'Owned Behaviors' containment reference list isn't clear, there really should be more of a description here...
Behaviors owned by a BehavioredClassifier.getOwnedBehaviors in interface ClassPivotPackage.getClass_OwnedBehaviors()public List<TemplateBinding> getOwnedBindings()
TemplateableElementTemplateBinding.
It is bidirectional and its opposite is 'Owning Element'.
The optional TemplateBindings from this TemplateableElement to one or more templates.
getOwnedBindings in interface TemplateableElementPivotPackage.getTemplateableElement_OwnedBindings(),
TemplateBinding.getOwningElement()public List<Constraint> getOwnedConstraints()
NamespaceConstraint.
If the meaning of the 'Owned Rule' containment reference list isn't clear, there really should be more of a description here...
Specifies a set of Constraints owned by this Namespace.getOwnedConstraints in interface NamespacePivotPackage.getNamespace_OwnedConstraints()public List<Constraint> getOwnedInvariants()
ClassConstraint.
If the meaning of the 'Owned Invariants' containment reference list isn't clear, there really should be more of a description here...
getOwnedInvariants in interface ClassPivotPackage.getClass_OwnedInvariants()public List<Operation> getOwnedOperations()
ClassOperation.
It is bidirectional and its opposite is 'Owning Class'.
The Operations owned by the Class.
getOwnedOperations in interface ClassPivotPackage.getClass_OwnedOperations(),
Operation.getOwningClass()public List<Property> getOwnedProperties()
ClassProperty.
It is bidirectional and its opposite is 'Owning Class'.
The Properties owned by the StructuredClassifier.
The attributes (i.e., the Properties) owned by the Class.
getOwnedProperties in interface ClassPivotPackage.getClass_OwnedProperties(),
Property.getOwningClass()public TemplateSignature getOwnedSignature()
TemplateableElementOwning Element'.
The optional TemplateSignature specifying the formal TemplateParameters for this TemplateableElement. If a TemplateableElement has a TemplateSignature, then it is a template.
getOwnedSignature in interface TemplateableElementTemplateableElement.setOwnedSignature(TemplateSignature),
PivotPackage.getTemplateableElement_OwnedSignature(),
TemplateSignature.getOwningElement()public Package getOwningPackage()
ClassOwned Classes'.
getOwningPackage in interface ClassClass.setOwningPackage(org.eclipse.ocl.pivot.Package),
PivotPackage.getClass_OwningPackage(),
Package.getOwnedClasses()public List<Class> getSuperClasses()
ClassClass.
getSuperClasses in interface ClassPivotPackage.getClass_SuperClasses()public TemplateParameters getTypeParameters()
ClassgetTypeParameters in interface Classpublic TemplateableElement getUnspecializedElement()
TemplateableElementIf the meaning of the 'Unspecialized Element' reference isn't clear, there really should be more of a description here...
getUnspecializedElement in interface TemplateableElementTemplateableElement.setUnspecializedElement(TemplateableElement),
PivotPackage.getTemplateableElement_UnspecializedElement()public boolean isIsAbstract()
Class"false".
If true, the Class does not provide a complete declaration and cannot be instantiated. An abstract Class is typically used as a target of Associations or Generalizations.
If true, the Classifier can only be instantiated by instantiating one of its specializations. An abstract Classifier is intended to be used by other Classifiers e.g., as the target of Associations or Generalizations.
isIsAbstract in interface ClassClass.setIsAbstract(boolean),
PivotPackage.getClass_IsAbstract()public boolean isIsActive()
Class"false".
Determines whether an object specified by this Class is active or not. If true, then the owning Class is referred to as an active Class. If false, then such a Class is referred to as a passive Class.
isIsActive in interface ClassClass.setIsActive(boolean),
PivotPackage.getClass_IsActive()public boolean isIsInterface()
Class"false".
If the meaning of the 'Is Interface' attribute isn't clear, there really should be more of a description here...
isIsInterface in interface ClassClass.setIsInterface(boolean),
PivotPackage.getClass_IsInterface()public boolean isOrdered()
Classpublic boolean isUnique()
Classpublic boolean isIsSerializable()
public void setBehavioralClass(Class value)
public void setInstanceClassName(String value)
ClassInstance Class Name' attribute.
setInstanceClassName in interface Classvalue - the new value of the 'Instance Class Name' attribute.Class.getInstanceClassName()public void setIsAbstract(boolean value)
ClassIs Abstract' attribute.
setIsAbstract in interface Classvalue - the new value of the 'Is Abstract' attribute.Class.isIsAbstract()public void setIsActive(boolean value)
ClassIs Active' attribute.
setIsActive in interface Classvalue - the new value of the 'Is Active' attribute.Class.isIsActive()public void setIsInterface(boolean value)
ClassIs Interface' attribute.
setIsInterface in interface Classvalue - the new value of the 'Is Interface' attribute.Class.isIsInterface()public void setIsSerializable(boolean value)
public void setOwnedSignature(TemplateSignature value)
TemplateableElementOwned Signature' containment reference.
setOwnedSignature in interface TemplateableElementvalue - the new value of the 'Owned Signature' containment reference.TemplateableElement.getOwnedSignature()public void setOwningPackage(Package value)
ClassOwning Package' container reference.
setOwningPackage in interface Classvalue - the new value of the 'Owning Package' container reference.Class.getOwningPackage()public void setUnspecializedElement(TemplateableElement value)
TemplateableElementUnspecialized Element' reference.
setUnspecializedElement in interface TemplateableElementvalue - the new value of the 'Unspecialized Element' reference.TemplateableElement.getUnspecializedElement()public boolean validateNameIsNotNull(DiagnosticChain diagnostics,
Map<Object,Object> context)
ClassvalidateNameIsNotNull in interface ClassCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.