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, validateTypeIsNotNullbasicGetType, CompatibleBody, getType, getTypeId, isIsMany, isIsRequired, setIsRequired, setTypegetName, setNameallOwnedElements, getAnnotatingComments, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValuegetESObject, getETarget, getImage, getTarget, getText, setESObject, setTargetequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetImplementation, getImplementationClass, isIsStatic, setImplementation, setImplementationClass, setIsStatic, validateNameIsNotNull, validateTypeIsNotInvalid, validateTypeIsNotNullCompatibleBody, getType, getTypeId, isIsMany, isIsRequired, setIsRequired, setTypegetName, setNameallOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValuepublic Property basicGetReferredProperty
public AssociationClass getAssociationClass()
getAssociationClass in interface PropertyProperty.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 PropertynewAssociationClass - the new value of the 'Association Class' reference.Property.getAssociationClass()public void setIsReadOnly(boolean newIsReadOnly)
setIsReadOnly in interface PropertynewIsReadOnly - the new value of the 'Is Read Only' attribute.Property.isIsReadOnly()public boolean isIsResolveProxies()
isIsResolveProxies in interface PropertyProperty.setIsResolveProxies(boolean),
PivotPackage.getProperty_IsResolveProxies()public void setIsComposite(boolean newIsComposite)
setIsComposite in interface PropertynewIsComposite - the new value of the 'Is Composite' attribute.Property.isIsComposite()public boolean isIsDerived()
isIsDerived in interface PropertyProperty.setIsDerived(boolean),
PivotPackage.getProperty_IsDerived()public void setIsDerived(boolean newIsDerived)
setIsDerived in interface PropertynewIsDerived - the new value of the 'Is Derived' attribute.Property.isIsDerived()public boolean isIsID()
isIsID in interface PropertyProperty.setIsID(boolean),
PivotPackage.getProperty_IsID()public Property getOpposite()
getOpposite in interface PropertyProperty.setOpposite(Property),
PivotPackage.getProperty_Opposite()public Property basicGetOpposite()
public void setOpposite(Property newOpposite)
setOpposite in interface PropertynewOpposite - the new value of the 'Opposite' reference.Property.getOpposite()public LanguageExpression getOwnedExpression()
getOwnedExpression in interface PropertyProperty.setOwnedExpression(LanguageExpression),
PivotPackage.getProperty_OwnedExpression()public NotificationChain basicSetOwnedExpression(LanguageExpression newOwnedExpression, NotificationChain msgs)
public void setOwnedExpression(LanguageExpression newOwnedExpression)
setOwnedExpression in interface PropertynewOwnedExpression - the new value of the 'Owned Expression' containment reference.Property.getOwnedExpression()public void setIsImplicit(boolean newIsImplicit)
setIsImplicit in interface PropertynewIsImplicit - the new value of the 'Is Implicit' attribute.Property.isIsImplicit()public boolean isIsReadOnly()
isIsReadOnly in interface PropertyProperty.setIsReadOnly(boolean),
PivotPackage.getProperty_IsReadOnly()public Object getDefaultValue()
getDefaultValue in interface PropertyProperty.setDefaultValue(Object),
PivotPackage.getProperty_DefaultValue()public void setDefaultValue(Object newDefaultValue)
setDefaultValue in interface PropertynewDefaultValue - the new value of the 'Default Value' attribute.Property.getDefaultValue()public String getDefaultValueString()
getDefaultValueString in interface PropertyProperty.setDefaultValueString(String),
PivotPackage.getProperty_DefaultValueString()public void setDefaultValueStringGen(String newDefaultValueString)
public void setDefaultValueString(String newDefaultValueString)
PropertyDefault Value String' attribute.
setDefaultValueString in interface PropertynewDefaultValueString - the new value of the 'Default Value String' attribute.Property.getDefaultValueString()public boolean isIsComposite()
isIsComposite in interface PropertyProperty.setIsComposite(boolean),
PivotPackage.getProperty_IsComposite()public void setIsID(boolean newIsID)
setIsID in interface PropertynewIsID - the new value of the 'Is ID' attribute.Property.isIsID()public boolean isIsImplicit()
isIsImplicit in interface PropertyProperty.setIsImplicit(boolean),
PivotPackage.getProperty_IsImplicit()public List<Property> getKeys()
getKeys in interface PropertyPivotPackage.getProperty_Keys()public void setIsResolveProxies(boolean newIsResolveProxies)
setIsResolveProxies in interface PropertynewIsResolveProxies - the new value of the 'Is Resolve Proxies' attribute.Property.isIsResolveProxies()public boolean isIsTransient()
isIsTransient in interface PropertyProperty.setIsTransient(boolean),
PivotPackage.getProperty_IsTransient()public void setIsTransient(boolean newIsTransient)
setIsTransient in interface PropertynewIsTransient - the new value of the 'Is Transient' attribute.Property.isIsTransient()public boolean isIsUnsettable()
isIsUnsettable in interface PropertyProperty.setIsUnsettable(boolean),
PivotPackage.getProperty_IsUnsettable()public void setIsUnsettable(boolean newIsUnsettable)
setIsUnsettable in interface PropertynewIsUnsettable - the new value of the 'Is Unsettable' attribute.Property.isIsUnsettable()public boolean isIsVolatile()
isIsVolatile in interface PropertyProperty.setIsVolatile(boolean),
PivotPackage.getProperty_IsVolatile()public void setIsVolatile(boolean newIsVolatile)
setIsVolatile in interface PropertynewIsVolatile - the new value of the 'Is Volatile' attribute.Property.isIsVolatile()public List<Property> getSubsettedProperty()
getSubsettedProperty in interface PropertyPivotPackage.getProperty_SubsettedProperty()public Property getReferredProperty()
getReferredProperty in interface PropertyProperty.setReferredProperty(Property),
PivotPackage.getProperty_ReferredProperty()public Property basicGetReferredProperty()
public void setReferredProperty(Property newReferredProperty)
setReferredProperty in interface PropertynewReferredProperty - the new value of the 'Referred Property' reference.Property.getReferredProperty()public boolean isAttribute(Property p)
isAttribute in interface Propertypublic boolean validateCompatibleDefaultExpression(DiagnosticChain diagnostics,
Map<Object,Object> context)
validateCompatibleDefaultExpression in interface Propertypublic NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseAdd in class ElementImplpublic NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseRemove in class ElementImplpublic NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet in class FeatureImplpublic void eSet(int featureID,
Object newValue)
eSet in class FeatureImplpublic void eUnset(int featureID)
eUnset in class FeatureImplpublic boolean eIsSet(int featureID)
eIsSet in class FeatureImplpublic Object eInvoke(int operationID, <any> arguments) throws InvocationTargetException
eInvoke in class FeatureImplInvocationTargetExceptionpublic String toString()
toString in class FeatureImplpublic <R> R accept(Visitor<R> visitor)
Elementpublic Class getOwningClass()
getOwningClass in interface FeaturegetOwningClass in interface PropertyProperty.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 PropertynewOwningClass - the new value of the 'Owning Class' container reference.Property.getOwningClass()public List<Property> getRedefinedProperties()
getRedefinedProperties in interface PropertyPivotPackage.getProperty_RedefinedProperties()public CompleteInheritance getInheritance(StandardLibrary standardLibrary)
PropertygetInheritance in interface Propertypublic PropertyId getPropertyId()
getPropertyId in interface Propertypublic void initValue(Object objectValue, Object ecoreValue)
PropertyThis 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 PivotObjectImplCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.