public class PropertyImpl extends FeatureImpl implements Property
The following features are implemented:
Type | Property and Description |
---|---|
Property |
basicGetReferred |
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(Visitor<R> visitor)
Accept a visit from a visitor and return the result of a call to the derived type-specific visitXXX in the visitor.
|
AssociationClass |
basicGetAssociationClass() |
Property |
basicGetOpposite() |
Property |
basicGetReferredProperty() |
NotificationChain |
basicSetAssociationClass(AssociationClass newAssociationClass,
NotificationChain msgs) |
NotificationChain |
basicSetOwnedExpression(LanguageExpression newOwnedExpression,
NotificationChain msgs) |
NotificationChain |
basicSetOwningClass(Class newOwningClass,
NotificationChain msgs) |
NotificationChain |
eBasicRemoveFromContainerFeature(NotificationChain msgs) |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
Object |
eInvoke(int operationID,
<any> arguments) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
void |
eUnset(int featureID) |
AssociationClass |
getAssociationClass() |
Object |
getDefaultValue() |
String |
getDefaultValueString() |
CompleteInheritance |
getInheritance(StandardLibrary standardLibrary)
Return the Inheritance dispatch table for the owning type, or null for an orphan property owned by an Annotation.
|
List<Property> |
getKeys() |
Property |
getOpposite() |
LanguageExpression |
getOwnedExpression() |
Class |
getOwningClass() |
PropertyId |
getPropertyId() |
List<Property> |
getRedefinedProperties() |
Property |
getReferredProperty() |
List<Property> |
getSubsettedProperty() |
void |
initValue(Object objectValue,
Object ecoreValue)
Initialize the value of this property within objectValue to propertyValue.
|
boolean |
isAttribute(Property p) |
boolean |
isIsComposite() |
boolean |
isIsDerived() |
boolean |
isIsID() |
boolean |
isIsImplicit() |
boolean |
isIsReadOnly() |
boolean |
isIsResolveProxies() |
boolean |
isIsTransient() |
boolean |
isIsUnsettable() |
boolean |
isIsVolatile() |
void |
setAssociationClass(AssociationClass newAssociationClass) |
void |
setDefaultValue(Object newDefaultValue) |
void |
setDefaultValueString(String newDefaultValueString)
Sets the value of the '
Default Value String ' attribute. |
void |
setDefaultValueStringGen(String newDefaultValueString) |
void |
setIsComposite(boolean newIsComposite) |
void |
setIsDerived(boolean newIsDerived) |
void |
setIsID(boolean newIsID) |
void |
setIsImplicit(boolean newIsImplicit) |
void |
setIsReadOnly(boolean newIsReadOnly) |
void |
setIsResolveProxies(boolean newIsResolveProxies) |
void |
setIsTransient(boolean newIsTransient) |
void |
setIsUnsettable(boolean newIsUnsettable) |
void |
setIsVolatile(boolean newIsVolatile) |
void |
setOpposite(Property newOpposite) |
void |
setOwnedExpression(LanguageExpression newOwnedExpression) |
void |
setOwningClass(Class newOwningClass) |
void |
setReferredProperty(Property newReferredProperty) |
String |
toString() |
void |
unloaded(ASResource asResource) |
boolean |
validateCompatibleDefaultExpression(DiagnosticChain diagnostics,
Map<Object,Object> context) |
getImplementation, getImplementationClass, isIsStatic, setImplementation, setImplementationClass, setIsStatic, validateNameIsNotNull, validateTypeIsNotInvalid, validateTypeIsNotNull
basicGetType, CompatibleBody, getType, getTypeId, isIsMany, isIsRequired, setIsRequired, setType
getName, setName
allOwnedElements, getAnnotatingComments, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
getESObject, getETarget, getImage, getTarget, getText, setESObject, setTarget
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getImplementation, getImplementationClass, isIsStatic, setImplementation, setImplementationClass, setIsStatic, validateNameIsNotNull, validateTypeIsNotInvalid, validateTypeIsNotNull
CompatibleBody, getType, getTypeId, isIsMany, isIsRequired, setIsRequired, setType
getName, setName
allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
public Property basicGetReferredProperty
public AssociationClass getAssociationClass()
getAssociationClass
in interface Property
Property.setAssociationClass(AssociationClass)
,
PivotPackage.getProperty_AssociationClass()
,
AssociationClass.getUnownedAttributes()
public AssociationClass basicGetAssociationClass()
public NotificationChain basicSetAssociationClass(AssociationClass newAssociationClass, NotificationChain msgs)
public void setAssociationClass(AssociationClass newAssociationClass)
setAssociationClass
in interface Property
newAssociationClass
- the new value of the 'Association Class' reference.Property.getAssociationClass()
public void setIsReadOnly(boolean newIsReadOnly)
setIsReadOnly
in interface Property
newIsReadOnly
- the new value of the 'Is Read Only' attribute.Property.isIsReadOnly()
public boolean isIsResolveProxies()
isIsResolveProxies
in interface Property
Property.setIsResolveProxies(boolean)
,
PivotPackage.getProperty_IsResolveProxies()
public void setIsComposite(boolean newIsComposite)
setIsComposite
in interface Property
newIsComposite
- the new value of the 'Is Composite' attribute.Property.isIsComposite()
public boolean isIsDerived()
isIsDerived
in interface Property
Property.setIsDerived(boolean)
,
PivotPackage.getProperty_IsDerived()
public void setIsDerived(boolean newIsDerived)
setIsDerived
in interface Property
newIsDerived
- the new value of the 'Is Derived' attribute.Property.isIsDerived()
public boolean isIsID()
isIsID
in interface Property
Property.setIsID(boolean)
,
PivotPackage.getProperty_IsID()
public Property getOpposite()
getOpposite
in interface Property
Property.setOpposite(Property)
,
PivotPackage.getProperty_Opposite()
public Property basicGetOpposite()
public void setOpposite(Property newOpposite)
setOpposite
in interface Property
newOpposite
- the new value of the 'Opposite' reference.Property.getOpposite()
public LanguageExpression getOwnedExpression()
getOwnedExpression
in interface Property
Property.setOwnedExpression(LanguageExpression)
,
PivotPackage.getProperty_OwnedExpression()
public NotificationChain basicSetOwnedExpression(LanguageExpression newOwnedExpression, NotificationChain msgs)
public void setOwnedExpression(LanguageExpression newOwnedExpression)
setOwnedExpression
in interface Property
newOwnedExpression
- the new value of the 'Owned Expression' containment reference.Property.getOwnedExpression()
public void setIsImplicit(boolean newIsImplicit)
setIsImplicit
in interface Property
newIsImplicit
- the new value of the 'Is Implicit' attribute.Property.isIsImplicit()
public boolean isIsReadOnly()
isIsReadOnly
in interface Property
Property.setIsReadOnly(boolean)
,
PivotPackage.getProperty_IsReadOnly()
public Object getDefaultValue()
getDefaultValue
in interface Property
Property.setDefaultValue(Object)
,
PivotPackage.getProperty_DefaultValue()
public void setDefaultValue(Object newDefaultValue)
setDefaultValue
in interface Property
newDefaultValue
- the new value of the 'Default Value' attribute.Property.getDefaultValue()
public String getDefaultValueString()
getDefaultValueString
in interface Property
Property.setDefaultValueString(String)
,
PivotPackage.getProperty_DefaultValueString()
public void setDefaultValueStringGen(String newDefaultValueString)
public void setDefaultValueString(String newDefaultValueString)
Property
Default Value String
' attribute.
setDefaultValueString
in interface Property
newDefaultValueString
- the new value of the 'Default Value String' attribute.Property.getDefaultValueString()
public boolean isIsComposite()
isIsComposite
in interface Property
Property.setIsComposite(boolean)
,
PivotPackage.getProperty_IsComposite()
public void setIsID(boolean newIsID)
setIsID
in interface Property
newIsID
- the new value of the 'Is ID' attribute.Property.isIsID()
public boolean isIsImplicit()
isIsImplicit
in interface Property
Property.setIsImplicit(boolean)
,
PivotPackage.getProperty_IsImplicit()
public List<Property> getKeys()
getKeys
in interface Property
PivotPackage.getProperty_Keys()
public void setIsResolveProxies(boolean newIsResolveProxies)
setIsResolveProxies
in interface Property
newIsResolveProxies
- the new value of the 'Is Resolve Proxies' attribute.Property.isIsResolveProxies()
public boolean isIsTransient()
isIsTransient
in interface Property
Property.setIsTransient(boolean)
,
PivotPackage.getProperty_IsTransient()
public void setIsTransient(boolean newIsTransient)
setIsTransient
in interface Property
newIsTransient
- the new value of the 'Is Transient' attribute.Property.isIsTransient()
public boolean isIsUnsettable()
isIsUnsettable
in interface Property
Property.setIsUnsettable(boolean)
,
PivotPackage.getProperty_IsUnsettable()
public void setIsUnsettable(boolean newIsUnsettable)
setIsUnsettable
in interface Property
newIsUnsettable
- the new value of the 'Is Unsettable' attribute.Property.isIsUnsettable()
public boolean isIsVolatile()
isIsVolatile
in interface Property
Property.setIsVolatile(boolean)
,
PivotPackage.getProperty_IsVolatile()
public void setIsVolatile(boolean newIsVolatile)
setIsVolatile
in interface Property
newIsVolatile
- the new value of the 'Is Volatile' attribute.Property.isIsVolatile()
public List<Property> getSubsettedProperty()
getSubsettedProperty
in interface Property
PivotPackage.getProperty_SubsettedProperty()
public Property getReferredProperty()
getReferredProperty
in interface Property
Property.setReferredProperty(Property)
,
PivotPackage.getProperty_ReferredProperty()
public Property basicGetReferredProperty()
public void setReferredProperty(Property newReferredProperty)
setReferredProperty
in interface Property
newReferredProperty
- the new value of the 'Referred Property' reference.Property.getReferredProperty()
public boolean isAttribute(Property p)
isAttribute
in interface Property
public boolean validateCompatibleDefaultExpression(DiagnosticChain diagnostics, Map<Object,Object> context)
validateCompatibleDefaultExpression
in interface Property
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class ElementImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class ElementImpl
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class FeatureImpl
public void eSet(int featureID, Object newValue)
eSet
in class FeatureImpl
public void eUnset(int featureID)
eUnset
in class FeatureImpl
public boolean eIsSet(int featureID)
eIsSet
in class FeatureImpl
public Object eInvoke(int operationID, <any> arguments) throws InvocationTargetException
eInvoke
in class FeatureImpl
InvocationTargetException
public String toString()
toString
in class FeatureImpl
public <R> R accept(Visitor<R> visitor)
Element
public Class getOwningClass()
getOwningClass
in interface Feature
getOwningClass
in interface Property
Property.setOwningClass(org.eclipse.ocl.pivot.Class)
,
PivotPackage.getProperty_OwningClass()
,
Class.getOwnedProperties()
public NotificationChain basicSetOwningClass(Class newOwningClass, NotificationChain msgs)
public void setOwningClass(Class newOwningClass)
setOwningClass
in interface Property
newOwningClass
- the new value of the 'Owning Class' container reference.Property.getOwningClass()
public List<Property> getRedefinedProperties()
getRedefinedProperties
in interface Property
PivotPackage.getProperty_RedefinedProperties()
public CompleteInheritance getInheritance(StandardLibrary standardLibrary)
Property
getInheritance
in interface Property
public PropertyId getPropertyId()
getPropertyId
in interface Property
public void initValue(Object objectValue, Object ecoreValue)
Property
This method is not thread-safe and should only be invoked to complete construction of objectvalue before making it visible to other threads.
public void unloaded(ASResource asResource)
unloaded
in class PivotObjectImpl
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.