org.eclipse.ocl.examples.pivot
Interface Property

All Superinterfaces:
Element, org.eclipse.emf.ecore.EObject, Feature, java.lang.Iterable<Property>, MonikeredElement, MultiplicityElement, Nameable, NamedElement, org.eclipse.emf.common.notify.Notifier, ParameterableElement, PivotObject, TypedElement, TypedMultiplicityElement, Visitable
All Known Implementing Classes:
PropertyImpl

public interface Property
extends Feature, ParameterableElement, java.lang.Iterable<Property>

A representation of the model object 'Property'.

See Also:
PivotPackage.getProperty()
Generated
Model

Method Summary
 AssociationClass getAssociation()
          Returns the value of the 'Association' reference.
 Class getClass_()
          Returns the value of the 'Class' container reference.
 java.lang.String getDefault()
          Returns the value of the 'Default' attribute.
 org.eclipse.emf.common.util.EList<Property> getKeys()
          Returns the value of the 'Keys' reference list.
 Property getOpposite()
          Returns the value of the 'Opposite' reference.
 boolean isComposite()
          Returns the value of the 'Is Composite' attribute.
 boolean isDerived()
          Returns the value of the 'Is Derived' attribute.
 boolean isID()
          Returns the value of the 'Is ID' attribute.
 boolean isImplicit()
          Returns the value of the 'Implicit' attribute.
 boolean isReadOnly()
          Returns the value of the 'Is Read Only' attribute.
 boolean isResolveProxies()
          Returns the value of the 'Is Resolve Proxies' attribute.
 boolean isTransient()
          Returns the value of the 'Is Transient' attribute.
 boolean isUnsettable()
          Returns the value of the 'Is Unsettable' attribute.
 boolean isVolatile()
          Returns the value of the 'Is Volatile' attribute.
 void setAssociation(AssociationClass value)
          Sets the value of the 'Association' reference.
 void setClass_(Class value)
          Sets the value of the 'Class' container reference.
 void setDefault(java.lang.String value)
          Sets the value of the 'Default' attribute.
 void setImplicit(boolean value)
          Sets the value of the 'Implicit' 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 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.
 boolean validateBindingToAttribute(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
          A binding of a property template parameter representing an attribute must be to an attribute.
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Feature
getImplementation, getImplementationClass, setImplementation, setImplementationClass
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.TypedElement
getType, setType
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.NamedElement
createOwnedAnnotation, createOwnedRule, getName, getOwnedAnnotations, getOwnedRules, isStatic, setIsStatic, setName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.MonikeredElement
getMoniker, hasMoniker, setMoniker
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element
createOwnedComment, getETarget, getOwnedComments
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.util.Visitable
accept, eClass
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.MultiplicityElement
getLower, getUpper, includesCardinality, includesMultiplicity, isMultivalued, isOrdered, isUnique, lowerBound, setIsOrdered, setIsUnique, setLower, setUpper, upperBound, validateLowerGe0, validateUpperGeLower
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.ParameterableElement
getOwningTemplateParameter, getTemplateParameter, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

isReadOnly

boolean isReadOnly()
Returns the value of the 'Is Read Only' attribute. The default value is "false". If isReadOnly is true, the attribute may not be written to after initialization.

Returns:
the value of the 'Is Read Only' attribute.
See Also:
setIsReadOnly(boolean), PivotPackage.getProperty_IsReadOnly()
Generated
Model
default="false" dataType="org.eclipse.ocl.examples.pivot.Boolean" required="true" ordered="false"

setIsReadOnly

void setIsReadOnly(boolean value)
Sets the value of the 'Is Read Only' attribute.

Parameters:
value - the new value of the 'Is Read Only' attribute.
See Also:
isReadOnly()
Generated

getDefault

java.lang.String getDefault()
Returns the value of the 'Default' attribute. A string that is evaluated to give a default value for the attribute when an object of the owning class is instantiated.

Returns:
the value of the 'Default' attribute.
See Also:
setDefault(String), PivotPackage.getProperty_Default()
Generated
Model
dataType="org.eclipse.ocl.examples.pivot.String" ordered="false"

setDefault

void setDefault(java.lang.String value)
Sets the value of the 'Default' attribute.

Parameters:
value - the new value of the 'Default' attribute.
See Also:
getDefault()
Generated

isComposite

boolean isComposite()
Returns the value of the 'Is Composite' attribute. The default value is "false". If isComposite is true, the object containing the attribute is a container for the object or value contained in the attribute.

Returns:
the value of the 'Is Composite' attribute.
See Also:
setIsComposite(boolean), PivotPackage.getProperty_IsComposite()
Generated
Model
default="false" dataType="org.eclipse.ocl.examples.pivot.Boolean" required="true" ordered="false"

setIsComposite

void setIsComposite(boolean value)
Sets the value of the 'Is Composite' attribute.

Parameters:
value - the new value of the 'Is Composite' attribute.
See Also:
isComposite()
Generated

isDerived

boolean isDerived()
Returns the value of the 'Is Derived' attribute. The default value is "false". If isDerived is true, the value of the attribute is derived from information elsewhere.

Returns:
the value of the 'Is Derived' attribute.
See Also:
setIsDerived(boolean), PivotPackage.getProperty_IsDerived()
Generated
Model
default="false" dataType="org.eclipse.ocl.examples.pivot.Boolean" required="true" ordered="false"

setIsDerived

void setIsDerived(boolean value)
Sets the value of the 'Is Derived' attribute.

Parameters:
value - the new value of the 'Is Derived' attribute.
See Also:
isDerived()
Generated

getOpposite

Property getOpposite()
Returns the value of the 'Opposite' reference. Two attributes attr1 and attr2 of two objects o1 and o2 (which may be the same object) may be paired with each other so that o1.attr1 refers to o2 if and only if o2.attr2 refers to o1. In such a case attr1 is the opposite of attr2 and attr2 is the opposite of attr1.

Returns:
the value of the 'Opposite' reference.
See Also:
setOpposite(Property), PivotPackage.getProperty_Opposite()
Generated
Model
ordered="false"

setOpposite

void setOpposite(Property value)
Sets the value of the 'Opposite' reference.

Parameters:
value - the new value of the 'Opposite' reference.
See Also:
getOpposite()
Generated

getAssociation

AssociationClass getAssociation()
Returns the value of the 'Association' reference. It is bidirectional and its opposite is 'Unowned Attribute'.

If the meaning of the 'Association' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Association' reference.
See Also:
setAssociation(AssociationClass), PivotPackage.getProperty_Association(), AssociationClass.getUnownedAttributes()
Generated
Model
opposite="unownedAttribute" ordered="false"

setAssociation

void setAssociation(AssociationClass value)
Sets the value of the 'Association' reference.

Parameters:
value - the new value of the 'Association' reference.
See Also:
getAssociation()
Generated

isImplicit

boolean isImplicit()
Returns the value of the 'Implicit' attribute. The default value is "false".

If the meaning of the 'Implicit' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Implicit' attribute.
See Also:
setImplicit(boolean), PivotPackage.getProperty_Implicit()
Generated
Model
default="false" dataType="org.eclipse.ocl.examples.pivot.Boolean" ordered="false"

setImplicit

void setImplicit(boolean value)
Sets the value of the 'Implicit' attribute.

Parameters:
value - the new value of the 'Implicit' attribute.
See Also:
isImplicit()
Generated

isID

boolean isID()
Returns the value of the 'Is ID' attribute. The default value is "false".

If the meaning of the 'Is ID' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Is ID' attribute.
See Also:
setIsID(boolean), PivotPackage.getProperty_IsID()
Generated
Model
default="false" dataType="org.eclipse.ocl.examples.pivot.Boolean" required="true" ordered="false"

setIsID

void setIsID(boolean value)
Sets the value of the 'Is ID' attribute.

Parameters:
value - the new value of the 'Is ID' attribute.
See Also:
isID()
Generated

getKeys

org.eclipse.emf.common.util.EList<Property> getKeys()
Returns the value of the 'Keys' reference list. The list contents are of type Property.

If the meaning of the 'Keys' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Keys' reference list.
See Also:
PivotPackage.getProperty_Keys()
Generated
Model
ordered="false"

isResolveProxies

boolean isResolveProxies()
Returns the value of the 'Is Resolve Proxies' attribute. The default value is "true".

If the meaning of the 'Resolve Proxies' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Is Resolve Proxies' attribute.
See Also:
setIsResolveProxies(boolean), PivotPackage.getProperty_IsResolveProxies()
Generated
Model
default="true" dataType="org.eclipse.ocl.examples.pivot.Boolean" required="true" ordered="false"

setIsResolveProxies

void setIsResolveProxies(boolean value)
Sets the value of the 'Is Resolve Proxies' attribute.

Parameters:
value - the new value of the 'Is Resolve Proxies' attribute.
See Also:
isResolveProxies()
Generated

isTransient

boolean isTransient()
Returns the value of the 'Is Transient' attribute. The default value is "false".

If the meaning of the 'Transient' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Is Transient' attribute.
See Also:
setIsTransient(boolean), PivotPackage.getProperty_IsTransient()
Generated
Model
default="false" dataType="org.eclipse.ocl.examples.pivot.Boolean" required="true" ordered="false"

setIsTransient

void setIsTransient(boolean value)
Sets the value of the 'Is Transient' attribute.

Parameters:
value - the new value of the 'Is Transient' attribute.
See Also:
isTransient()
Generated

isUnsettable

boolean isUnsettable()
Returns the value of the 'Is Unsettable' attribute. The default value is "false".

If the meaning of the 'Unsettable' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Is Unsettable' attribute.
See Also:
setIsUnsettable(boolean), PivotPackage.getProperty_IsUnsettable()
Generated
Model
default="false" dataType="org.eclipse.ocl.examples.pivot.Boolean" required="true" ordered="false"

setIsUnsettable

void setIsUnsettable(boolean value)
Sets the value of the 'Is Unsettable' attribute.

Parameters:
value - the new value of the 'Is Unsettable' attribute.
See Also:
isUnsettable()
Generated

isVolatile

boolean isVolatile()
Returns the value of the 'Is Volatile' attribute. The default value is "false".

If the meaning of the 'Volatile' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Is Volatile' attribute.
See Also:
setIsVolatile(boolean), PivotPackage.getProperty_IsVolatile()
Generated
Model
default="false" dataType="org.eclipse.ocl.examples.pivot.Boolean" required="true" ordered="false"

setIsVolatile

void setIsVolatile(boolean value)
Sets the value of the 'Is Volatile' attribute.

Parameters:
value - the new value of the 'Is Volatile' attribute.
See Also:
isVolatile()
Generated

getClass_

Class getClass_()
Returns the value of the 'Class' container reference. It is bidirectional and its opposite is 'Owned Attribute'. The class that owns the property, and of which the property is an attribute.

Returns:
the value of the 'Class' container reference.
See Also:
setClass_(org.eclipse.ocl.examples.pivot.Class), PivotPackage.getProperty_Class(), Class.getOwnedAttributes()
Generated
Model
opposite="ownedAttribute" transient="false" ordered="false"

setClass_

void setClass_(Class value)
Sets the value of the 'Class' container reference.

Parameters:
value - the new value of the 'Class' container reference.
See Also:
getClass_()
Generated

validateBindingToAttribute

boolean validateBindingToAttribute(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                   java.util.Map<java.lang.Object,java.lang.Object> context)
A binding of a property template parameter representing an attribute must be to an attribute. (isAttribute(self) and (templateParameterSubstitution->notEmpty()) implies (templateParameterSubstitution->forAll(ts | isAttribute(ts.formal)))

Parameters:
diagnostics - The chain of diagnostics to which problems are to be appended.
context - The cache of context-specific information.
Generated
Model