public interface Class extends Type, Namespace, TemplateableElement
PivotPackage.getClass_()
The following features are supported:
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.
|
List<StereotypeExtender> |
getExtenders()
Returns the value of the 'Extenders' reference list.
|
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<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.
|
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.
|
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 |
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.
|
Operation |
lookupActualOperation(StandardLibrary standardLibrary,
Operation apparentOperation) |
LibraryFeature |
lookupImplementation(StandardLibrary standardLibrary,
Operation apparentOperation)
Return the dynamic (overloaded) implementation of the staticOperation applicable to the types managed
by the given Standard Library.
|
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 |
setOwningPackage(Package value)
Sets the value of the '
Owning Package ' container reference. |
boolean |
validateNameIsNotNull(DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
validateUniqueInvariantName(DiagnosticChain diagnostics,
Map<Object,Object> context) |
conformsTo, flattenedType, getCommonType, getInheritance, getNormalizedType, getTypeId, isClass, isEqualTo, isEqualToUnspecializedType, isTemplateParameter, specializeIn
oclEquals, oclHashCode
getOwnedConstraints
getName, setName
accept, allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
getOwnedBindings, getOwnedSignature, getUnspecializedElement, setOwnedSignature, setUnspecializedElement
List<StereotypeExtender> getExtenders()
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...
PivotPackage.getClass_Extenders()
,
StereotypeExtender.getClass_()
String getInstanceClassName()
If the meaning of the 'Instance Class Name' attribute isn't clear, there really should be more of a description here...
setInstanceClassName(String)
,
PivotPackage.getClass_InstanceClassName()
void setInstanceClassName(String value)
Instance Class Name
' attribute.
value
- the new value of the 'Instance Class Name' attribute.getInstanceClassName()
boolean isIsAbstract()
"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.
setIsAbstract(boolean)
,
PivotPackage.getClass_IsAbstract()
void setIsAbstract(boolean value)
Is Abstract
' attribute.
value
- the new value of the 'Is Abstract' attribute.isIsAbstract()
boolean isIsActive()
"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.
setIsActive(boolean)
,
PivotPackage.getClass_IsActive()
void setIsActive(boolean value)
Is Active
' attribute.
value
- the new value of the 'Is Active' attribute.isIsActive()
boolean isIsInterface()
"false"
.
If the meaning of the 'Is Interface' attribute isn't clear, there really should be more of a description here...
setIsInterface(boolean)
,
PivotPackage.getClass_IsInterface()
List<Constraint> getOwnedInvariants()
Constraint
.
If the meaning of the 'Owned Invariants' containment reference list isn't clear, there really should be more of a description here...
PivotPackage.getClass_OwnedInvariants()
List<Operation> getOwnedOperations()
Operation
.
It is bidirectional and its opposite is 'Owning Class
'.
The Operations owned by the Class.
PivotPackage.getClass_OwnedOperations()
,
Operation.getOwningClass()
Package getOwningPackage()
Owned Classes
'.
setOwningPackage(org.eclipse.ocl.pivot.Package)
,
PivotPackage.getClass_OwningPackage()
,
Package.getOwnedClasses()
void setOwningPackage(Package value)
Owning Package
' container reference.
value
- the new value of the 'Owning Package' container reference.getOwningPackage()
List<Class> getSuperClasses()
Class
.
PivotPackage.getClass_SuperClasses()
boolean validateNameIsNotNull(DiagnosticChain diagnostics, Map<Object,Object> context)
boolean validateUniqueInvariantName(DiagnosticChain diagnostics, Map<Object,Object> context)
void setIsInterface(boolean value)
Is Interface
' attribute.
value
- the new value of the 'Is Interface' attribute.isIsInterface()
List<Behavior> getOwnedBehaviors()
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.PivotPackage.getClass_OwnedBehaviors()
List<Property> getOwnedProperties()
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.
PivotPackage.getClass_OwnedProperties()
,
Property.getOwningClass()
EObject createInstance()
Property.initValue(Object, Object)
provided no side-effect free
OCL functionality is permitted to use the ObjectValue until initialisation has completed.Object createInstance(String value)
value
- string initial valueString getMetaTypeName()
TemplateParameters getTypeParameters()
boolean isOrdered()
boolean isUnique()
LibraryFeature lookupImplementation(StandardLibrary standardLibrary, Operation apparentOperation)
Operation lookupActualOperation(StandardLibrary standardLibrary, Operation apparentOperation)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.