public class AbstractExecutorClass extends AbstractExecutorType implements Class
AbstractInheritance.FragmentIterable
ABSTRACT, OCL_ANY, OCL_INVALID, OCL_VOID, ORDERED, UNIQUE
EMPTY_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, specializeIn
getCommonInheritance, getFragment, getType, initStatics, isInvalid, isOclAny, isSubInheritanceOf, isSuperInheritanceOf, isUndefined, lookupActualOperation, lookupImplementation, lookupLocalOperation
getName, setName
accept, 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, getValue
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
lookupActualOperation, lookupImplementation
conformsTo, flattenedType, getCommonType, getNormalizedType, getTypeId, isClass, isEqualTo, isEqualToUnspecializedType, isTemplateParameter, specializeIn
oclEquals, oclHashCode
getName, setName
accept, allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
public AbstractExecutorClass(String name, int flags)
public EObject createInstance()
Class
Property.initValue(Object, Object)
provided no side-effect free
OCL functionality is permitted to use the ObjectValue until initialisation has completed.createInstance
in interface Class
public Object createInstance(String value)
Class
createInstance
in interface Class
value
- string initial valuepublic Class getBehavioralClass()
public List<StereotypeExtender> getExtenders()
Class
StereotypeExtender
.
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 Class
PivotPackage.getClass_Extenders()
,
StereotypeExtender.getClass_()
public CompleteInheritance getInheritance(StandardLibrary standardLibrary)
Type
getInheritance
in interface Type
getInheritance
in class AbstractExecutorType
public String getInstanceClassName()
Class
If the meaning of the 'Instance Class Name' attribute isn't clear, there really should be more of a description here...
getInstanceClassName
in interface Class
Class.setInstanceClassName(String)
,
PivotPackage.getClass_InstanceClassName()
public String getMetaTypeName()
Class
getMetaTypeName
in interface Class
public List<Behavior> getOwnedBehaviors()
Class
Behavior
.
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 Class
PivotPackage.getClass_OwnedBehaviors()
public List<TemplateBinding> getOwnedBindings()
TemplateableElement
TemplateBinding
.
It is bidirectional and its opposite is 'Owning Element
'.
The optional TemplateBindings from this TemplateableElement to one or more templates.
getOwnedBindings
in interface TemplateableElement
PivotPackage.getTemplateableElement_OwnedBindings()
,
TemplateBinding.getOwningElement()
public List<Constraint> getOwnedConstraints()
Namespace
Constraint
.
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 Namespace
PivotPackage.getNamespace_OwnedConstraints()
public List<Constraint> getOwnedInvariants()
Class
Constraint
.
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 Class
PivotPackage.getClass_OwnedInvariants()
public List<Operation> getOwnedOperations()
Class
Operation
.
It is bidirectional and its opposite is 'Owning Class
'.
The Operations owned by the Class.
getOwnedOperations
in interface Class
PivotPackage.getClass_OwnedOperations()
,
Operation.getOwningClass()
public List<Property> getOwnedProperties()
Class
Property
.
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 Class
PivotPackage.getClass_OwnedProperties()
,
Property.getOwningClass()
public TemplateSignature getOwnedSignature()
TemplateableElement
Owning 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 TemplateableElement
TemplateableElement.setOwnedSignature(TemplateSignature)
,
PivotPackage.getTemplateableElement_OwnedSignature()
,
TemplateSignature.getOwningElement()
public Package getOwningPackage()
Class
Owned Classes
'.
getOwningPackage
in interface Class
Class.setOwningPackage(org.eclipse.ocl.pivot.Package)
,
PivotPackage.getClass_OwningPackage()
,
Package.getOwnedClasses()
public List<Class> getSuperClasses()
Class
Class
.
getSuperClasses
in interface Class
PivotPackage.getClass_SuperClasses()
public TemplateParameters getTypeParameters()
Class
getTypeParameters
in interface Class
public TemplateableElement getUnspecializedElement()
TemplateableElement
If the meaning of the 'Unspecialized Element' reference isn't clear, there really should be more of a description here...
getUnspecializedElement
in interface TemplateableElement
TemplateableElement.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 Class
Class.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 Class
Class.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 Class
Class.setIsInterface(boolean)
,
PivotPackage.getClass_IsInterface()
public boolean isOrdered()
Class
public boolean isUnique()
Class
public boolean isIsSerializable()
public void setBehavioralClass(Class value)
public void setInstanceClassName(String value)
Class
Instance Class Name
' attribute.
setInstanceClassName
in interface Class
value
- the new value of the 'Instance Class Name' attribute.Class.getInstanceClassName()
public void setIsAbstract(boolean value)
Class
Is Abstract
' attribute.
setIsAbstract
in interface Class
value
- the new value of the 'Is Abstract' attribute.Class.isIsAbstract()
public void setIsActive(boolean value)
Class
Is Active
' attribute.
setIsActive
in interface Class
value
- the new value of the 'Is Active' attribute.Class.isIsActive()
public void setIsInterface(boolean value)
Class
Is Interface
' attribute.
setIsInterface
in interface Class
value
- the new value of the 'Is Interface' attribute.Class.isIsInterface()
public void setIsSerializable(boolean value)
public void setOwnedSignature(TemplateSignature value)
TemplateableElement
Owned Signature
' containment reference.
setOwnedSignature
in interface TemplateableElement
value
- the new value of the 'Owned Signature' containment reference.TemplateableElement.getOwnedSignature()
public void setOwningPackage(Package value)
Class
Owning Package
' container reference.
setOwningPackage
in interface Class
value
- the new value of the 'Owning Package' container reference.Class.getOwningPackage()
public void setUnspecializedElement(TemplateableElement value)
TemplateableElement
Unspecialized Element
' reference.
setUnspecializedElement
in interface TemplateableElement
value
- the new value of the 'Unspecialized Element' reference.TemplateableElement.getUnspecializedElement()
public boolean validateNameIsNotNull(DiagnosticChain diagnostics, Map<Object,Object> context)
Class
validateNameIsNotNull
in interface Class
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.