public interface Property extends Feature
The following features are supported:
PivotPackage.getProperty()
Modifier and Type | Method and Description |
---|---|
AssociationClass |
getAssociationClass()
Returns the value of the 'Association Class' reference.
|
java.lang.Object |
getDefaultValue()
Returns the value of the 'Default Value' attribute.
|
java.lang.String |
getDefaultValueString()
Returns the value of the 'Default Value String' attribute.
|
CompleteInheritance |
getInheritance(StandardLibrary standardLibrary)
Return the Inheritance dispatch table for the owning type, or null for an orphan property owned by an Annotation.
|
java.util.List<Property> |
getKeys()
Returns the value of the 'Keys' reference list.
|
Property |
getOpposite()
Returns the value of the 'Opposite' reference.
|
LanguageExpression |
getOwnedExpression()
Returns the value of the 'Owned Expression' containment reference.
|
Class |
getOwningClass()
Returns the value of the 'Owning Class' container reference.
|
PropertyId |
getPropertyId() |
java.util.List<Property> |
getRedefinedProperties()
Returns the value of the 'Redefined Properties' reference list.
|
Property |
getReferredProperty()
Returns the value of the 'Referred Property' reference.
|
java.util.List<Property> |
getSubsettedProperty()
Returns the value of the 'Subsetted Property' reference list.
|
void |
initValue(java.lang.Object object,
java.lang.Object ecoreValue)
Initialize the value of this property within objectValue to propertyValue.
|
boolean |
isAttribute(Property p) |
boolean |
isIsComposite()
Returns the value of the 'Is Composite' attribute.
|
boolean |
isIsDerived()
Returns the value of the 'Is Derived' attribute.
|
boolean |
isIsID()
Returns the value of the 'Is ID' attribute.
|
boolean |
isIsImplicit()
Returns the value of the 'Is Implicit' attribute.
|
boolean |
isIsReadOnly()
Returns the value of the 'Is Read Only' attribute.
|
boolean |
isIsResolveProxies()
Returns the value of the 'Is Resolve Proxies' attribute.
|
boolean |
isIsTransient()
Returns the value of the 'Is Transient' attribute.
|
boolean |
isIsUnsettable()
Returns the value of the 'Is Unsettable' attribute.
|
boolean |
isIsVolatile()
Returns the value of the 'Is Volatile' attribute.
|
void |
setAssociationClass(AssociationClass value)
Sets the value of the '
Association Class ' reference. |
void |
setDefaultValue(java.lang.Object value)
Sets the value of the '
Default Value ' attribute. |
void |
setDefaultValueString(java.lang.String value)
Sets the value of the '
Default Value String ' attribute. |
void |
setIsComposite(boolean value)
Sets the value of the '
Is Composite ' attribute. |
void |
setIsDerived(boolean value)
Sets the value of the '
Is Derived ' attribute. |
void |
setIsID(boolean value)
Sets the value of the '
Is ID ' attribute. |
void |
setIsImplicit(boolean value)
Sets the value of the '
Is Implicit ' attribute. |
void |
setIsReadOnly(boolean value)
Sets the value of the '
Is Read Only ' attribute. |
void |
setIsResolveProxies(boolean value)
Sets the value of the '
Is Resolve Proxies ' attribute. |
void |
setIsTransient(boolean value)
Sets the value of the '
Is Transient ' attribute. |
void |
setIsUnsettable(boolean value)
Sets the value of the '
Is Unsettable ' attribute. |
void |
setIsVolatile(boolean value)
Sets the value of the '
Is Volatile ' attribute. |
void |
setOpposite(Property value)
Sets the value of the '
Opposite ' reference. |
void |
setOwnedExpression(LanguageExpression value)
Sets the value of the '
Owned Expression ' containment reference. |
void |
setOwningClass(Class value)
Sets the value of the '
Owning Class ' container reference. |
void |
setReferredProperty(Property value)
Sets the value of the '
Referred Property ' reference. |
boolean |
validateCompatibleDefaultExpression(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
getImplementation, getImplementationClass, isIsStatic, setImplementation, setImplementationClass, setIsStatic, validateTypeIsNotInvalid
CompatibleBody, getType, getTypeId, isIsMany, isIsRequired, setIsRequired, setType
getName, setName
accept, allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
AssociationClass getAssociationClass()
Unowned Attributes
'.
If the meaning of the 'Association Class' reference isn't clear, there really should be more of a description here...
setAssociationClass(AssociationClass)
,
PivotPackage.getProperty_AssociationClass()
,
AssociationClass.getUnownedAttributes()
void setAssociationClass(AssociationClass value)
Association Class
' reference.
value
- the new value of the 'Association Class' reference.getAssociationClass()
void setIsReadOnly(boolean value)
Is Read Only
' attribute.
value
- the new value of the 'Is Read Only' attribute.isIsReadOnly()
boolean isIsResolveProxies()
"true"
.
If the meaning of the 'Is Resolve Proxies' attribute isn't clear, there really should be more of a description here...
setIsResolveProxies(boolean)
,
PivotPackage.getProperty_IsResolveProxies()
void setIsComposite(boolean value)
Is Composite
' attribute.
value
- the new value of the 'Is Composite' attribute.isIsComposite()
boolean isIsDerived()
"false"
.
Specifies whether the Property is derived, i.e., whether its value or values can be computed from other information.
setIsDerived(boolean)
,
PivotPackage.getProperty_IsDerived()
void setIsDerived(boolean value)
Is Derived
' attribute.
value
- the new value of the 'Is Derived' attribute.isIsDerived()
boolean isIsID()
"false"
.
If the meaning of the 'Is ID' attribute isn't clear, there really should be more of a description here...
True indicates this property can be used to uniquely identify an instance of the containing Class.setIsID(boolean)
,
PivotPackage.getProperty_IsID()
Property getOpposite()
setOpposite(Property)
,
PivotPackage.getProperty_Opposite()
void setOpposite(Property value)
Opposite
' reference.
value
- the new value of the 'Opposite' reference.getOpposite()
LanguageExpression getOwnedExpression()
If the meaning of the 'Owned Expression' containment reference isn't clear, there really should be more of a description here...
setOwnedExpression(LanguageExpression)
,
PivotPackage.getProperty_OwnedExpression()
void setOwnedExpression(LanguageExpression value)
Owned Expression
' containment reference.
value
- the new value of the 'Owned Expression' containment reference.getOwnedExpression()
void setIsImplicit(boolean value)
Is Implicit
' attribute.
value
- the new value of the 'Is Implicit' attribute.isIsImplicit()
boolean isIsReadOnly()
"false"
.
If isReadOnly is true, the StructuralFeature may not be written to after initialization.
setIsReadOnly(boolean)
,
PivotPackage.getProperty_IsReadOnly()
java.lang.Object getDefaultValue()
setDefaultValue(Object)
,
PivotPackage.getProperty_DefaultValue()
void setDefaultValue(java.lang.Object value)
Default Value
' attribute.
value
- the new value of the 'Default Value' attribute.getDefaultValue()
java.lang.String getDefaultValueString()
setDefaultValueString(String)
,
PivotPackage.getProperty_DefaultValueString()
void setDefaultValueString(java.lang.String value)
Default Value String
' attribute.
value
- the new value of the 'Default Value String' attribute.getDefaultValueString()
boolean isIsComposite()
"false"
.
setIsComposite(boolean)
,
PivotPackage.getProperty_IsComposite()
void setIsID(boolean value)
Is ID
' attribute.
value
- the new value of the 'Is ID' attribute.isIsID()
boolean isIsImplicit()
"false"
.
If the meaning of the 'Is Implicit' attribute isn't clear, there really should be more of a description here...
setIsImplicit(boolean)
,
PivotPackage.getProperty_IsImplicit()
java.util.List<Property> getKeys()
Property
.
If the meaning of the 'Keys' reference list isn't clear, there really should be more of a description here...
PivotPackage.getProperty_Keys()
void setIsResolveProxies(boolean value)
Is Resolve Proxies
' attribute.
value
- the new value of the 'Is Resolve Proxies' attribute.isIsResolveProxies()
boolean isIsTransient()
"false"
.
If the meaning of the 'Is Transient' attribute isn't clear, there really should be more of a description here...
setIsTransient(boolean)
,
PivotPackage.getProperty_IsTransient()
void setIsTransient(boolean value)
Is Transient
' attribute.
value
- the new value of the 'Is Transient' attribute.isIsTransient()
boolean isIsUnsettable()
"false"
.
If the meaning of the 'Is Unsettable' attribute isn't clear, there really should be more of a description here...
setIsUnsettable(boolean)
,
PivotPackage.getProperty_IsUnsettable()
void setIsUnsettable(boolean value)
Is Unsettable
' attribute.
value
- the new value of the 'Is Unsettable' attribute.isIsUnsettable()
boolean isIsVolatile()
"false"
.
If the meaning of the 'Is Volatile' attribute isn't clear, there really should be more of a description here...
setIsVolatile(boolean)
,
PivotPackage.getProperty_IsVolatile()
void setIsVolatile(boolean value)
Is Volatile
' attribute.
value
- the new value of the 'Is Volatile' attribute.isIsVolatile()
java.util.List<Property> getSubsettedProperty()
Property
.
If the meaning of the 'Subsetted Property' reference list isn't clear, there really should be more of a description here...
The properties of which this Property is constrained to be a subset, if any.PivotPackage.getProperty_SubsettedProperty()
Property getReferredProperty()
If the meaning of the 'Referred Property' reference isn't clear, there really should be more of a description here...
setReferredProperty(Property)
,
PivotPackage.getProperty_ReferredProperty()
void setReferredProperty(Property value)
Referred Property
' reference.
value
- the new value of the 'Referred Property' reference.getReferredProperty()
boolean isAttribute(Property p)
boolean validateCompatibleDefaultExpression(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
Class getOwningClass()
Owned Properties
'.
The Class that owns this Property, if any.
getOwningClass
in interface Feature
setOwningClass(org.eclipse.ocl.pivot.Class)
,
PivotPackage.getProperty_OwningClass()
,
Class.getOwnedProperties()
void setOwningClass(Class value)
Owning Class
' container reference.
value
- the new value of the 'Owning Class' container reference.getOwningClass()
java.util.List<Property> getRedefinedProperties()
Property
.
If the meaning of the 'Redefined Properties' reference list isn't clear, there really should be more of a description here...
The properties that are redefined by this property, if any.PivotPackage.getProperty_RedefinedProperties()
@NonNull PropertyId getPropertyId()
@Nullable CompleteInheritance getInheritance(@NonNull StandardLibrary standardLibrary)
void initValue(@NonNull java.lang.Object object, @Nullable java.lang.Object ecoreValue)
This method is not thread-safe and should only be invoked to complete construction of objectvalue before making it visible to other threads.