public interface Type extends NamedElement, TemplateableElement, ParameterableElement, DomainType
PivotPackage.getType()
Modifier and Type | Method and Description |
---|---|
Property |
createOwnedAttribute()
Creates a new
Property and appends it to the 'Owned Attribute' containment reference list. |
Constraint |
createOwnedInvariant()
Creates a new
Constraint and appends it to the 'Owned Invariant' 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. |
java.lang.String |
getInstanceClassName()
Returns the value of the 'Instance Class Name' attribute.
|
java.util.List<Property> |
getOwnedAttribute()
Returns the value of the 'Owned Attribute' containment reference list.
|
java.util.List<Constraint> |
getOwnedInvariant()
Returns the value of the 'Owned Invariant' containment reference list.
|
java.util.List<Operation> |
getOwnedOperation()
Returns the value of the 'Owned Operation' containment reference list.
|
Package |
getPackage()
Returns the value of the 'Package' container reference.
|
java.util.List<Type> |
getSuperClass()
Returns the value of the 'Super Class' reference list.
|
void |
setInstanceClassName(java.lang.String value)
Sets the value of the '
Instance Class Name ' attribute. |
void |
setPackage(Package value)
Sets the value of the '
Package ' container reference. |
Type |
specializeIn(OCLExpression expr,
Type selfType) |
boolean |
validateUniqueInvariantName(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
createOwnedAnnotation, getName, getOwnedAnnotation, isStatic, setIsStatic, setName
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBinding, getUnspecializedElement, isTemplate, parameterableElements, setOwnedTemplateSignature, setUnspecializedElement
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
allOwnedElements, createExtension, createOwnedComment, getETarget, getExtension, getOwnedComment, getValue
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
conformsTo, createInstance, createInstance, getCommonType, getInheritance, getLocalOperations, getLocalProperties, getLocalSuperTypes, getMetaTypeName, getName, getNormalizedType, getTypeId, getTypeParameters, isEqualTo, isEqualToUnspecializedType, isInvalid, isOrdered, isUnique, lookupImplementation, specializeIn
getOwnedRule
oclEquals, oclHashCode
Package getPackage()
Owned Type
'.
Specifies the owning package of this classifier, if any.
getPackage
in interface DomainType
setPackage(org.eclipse.ocl.examples.pivot.Package)
,
PivotPackage.getType_Package()
,
Package.getOwnedType()
void setPackage(Package value)
Package
' container reference.
value
- the new value of the 'Package' container reference.getPackage()
@NonNull java.util.List<Property> getOwnedAttribute()
Property
.
It is bidirectional and its opposite is 'Owning Type
'.
If the meaning of the 'Owned Attribute' containment reference list isn't clear, there really should be more of a description here...
getOwnedAttribute
in interface DomainType
PivotPackage.getType_OwnedAttribute()
,
Property.getOwningType()
Property createOwnedAttribute()
Property
and appends it to the 'Owned Attribute' containment reference list.
Property
.getOwnedAttribute()
@NonNull java.util.List<Operation> getOwnedOperation()
Operation
.
It is bidirectional and its opposite is 'Owning Type
'.
If the meaning of the 'Owned Operation' containment reference list isn't clear, there really should be more of a description here...
getOwnedOperation
in interface DomainType
PivotPackage.getType_OwnedOperation()
,
Operation.getOwningType()
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
.getOwnedOperation()
Operation createOwnedOperation()
Operation
and appends it to the 'Owned Operation' containment reference list.
Operation
.getOwnedOperation()
@NonNull java.util.List<Type> getSuperClass()
Type
.
If the meaning of the 'Super Class' reference list isn't clear, there really should be more of a description here...
PivotPackage.getType_SuperClass()
@NonNull java.util.List<Constraint> getOwnedInvariant()
Constraint
.
If the meaning of the 'Owned Invariant' containment reference list isn't clear, there really should be more of a description here...
getOwnedInvariant
in interface DomainType
PivotPackage.getType_OwnedInvariant()
Constraint createOwnedInvariant()
Constraint
and appends it to the 'Owned Invariant' containment reference list.
Constraint
.getOwnedInvariant()
java.lang.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.getType_InstanceClassName()
void setInstanceClassName(java.lang.String value)
Instance Class Name
' attribute.
value
- the new value of the 'Instance Class Name' attribute.getInstanceClassName()
Type specializeIn(OCLExpression expr, Type selfType)
boolean validateUniqueInvariantName(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)