public interface Property extends StructuralFeature, ConnectableElement, DeploymentTarget
A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association. The type of the Property is the type of the end of the Association. A Property has the capability of being a DeploymentTarget in a Deployment relationship. This enables modeling the deployment to hierarchical nodes that have Properties functioning as internal parts. Property specializes ParameterableElement to specify that a Property can be exposed as a formal template parameter, and provided as an actual parameter in a binding of a template.
The following features are supported:
Aggregation
Association End
Qualifier
UML Class
Datatype
Default Value
Interface
Owning Signal
structured Classifier Of Owned Attribute
connector End Of Part With Port
link End Data Of End
qualifier Value Of Qualifier
read Link Object End Action Of End
read Link Object End Qualifier Action Of Qualifier
Composite
Derived
Derived Union
ID
Opposite
Owning Association
Redefined Property
property Of Redefined Property
Subsetted Property
property Of Subsetted Property
association Of Navigable Owned End
artifact Of Owned Attribute
Classifier
interaction Use Of Return Value Recipient
Association
UMLPackage.getProperty()
Type | Property and Description |
---|---|
java.util.Collection<Property> |
get_propertyOfRedefined
Gets the value of the property _propertyOfRedefinedProperty.
|
java.util.Collection<Property> |
get_propertyOfSubsetted
Gets the value of the property _propertyOfSubsettedProperty.
|
boolean |
has_propertyOfRedefined |
boolean |
has_propertyOfSubsetted |
boolean |
hasRedefined |
boolean |
hasSubsetted |
Modifier and Type | Method and Description |
---|---|
Artifact |
get_artifactOfOwnedAttribute()
Returns the value of the 'artifact Of Owned Attribute' container reference.
|
Association |
get_associationOfNavigableOwnedEnd()
Returns the value of the 'association Of Navigable Owned End' reference.
|
java.util.Collection<ConnectorEnd> |
get_connectorEndOfPartWithPort()
Returns the value of the 'connector End Of Part With Port' reference list.
|
java.util.Collection<InteractionUse> |
get_interactionUseOfReturnValueRecipient()
Returns the value of the 'interaction Use Of Return Value Recipient' reference list.
|
java.util.Collection<LinkEndData> |
get_linkEndDataOfEnd()
Returns the value of the 'link End Data Of End' reference list.
|
java.util.Collection<Property> |
get_propertyOfRedefinedProperty()
Gets the value of the property _propertyOfRedefinedProperty.
|
java.util.Collection<Property> |
get_propertyOfSubsettedProperty()
Gets the value of the property _propertyOfSubsettedProperty.
|
java.util.Collection<QualifierValue> |
get_qualifierValueOfQualifier()
Returns the value of the 'qualifier Value Of Qualifier' reference list.
|
java.util.Collection<ReadLinkObjectEndAction> |
get_readLinkObjectEndActionOfEnd()
Returns the value of the 'read Link Object End Action Of End' reference list.
|
java.util.Collection<ReadLinkObjectEndQualifierAction> |
get_readLinkObjectEndQualifierActionOfQualifier()
Returns the value of the 'read Link Object End Qualifier Action Of Qualifier' reference list.
|
StructuredClassifier |
get_structuredClassifierOfOwnedAttribute()
Returns the value of the 'structured Classifier Of Owned Attribute' container reference.
|
AggregationKind |
getAggregation()
Returns the value of the 'Aggregation' attribute.
|
Association |
getAssociation()
Returns the value of the 'Association' reference.
|
Property |
getAssociationEnd()
Returns the value of the 'Association End' container reference.
|
Classifier |
getClassifier()
Returns the value of the 'Classifier' reference.
|
DataType |
getDatatype()
Returns the value of the 'Datatype' container reference.
|
ValueSpecification |
getDefaultValue()
Returns the value of the 'Default Value' containment reference.
|
Interface |
getInterface()
Returns the value of the 'Interface' container reference.
|
Property |
getOpposite()
Returns the value of the 'Opposite' reference.
|
Association |
getOwningAssociation()
Returns the value of the 'Owning Association' container reference.
|
Signal |
getOwningSignal()
Returns the value of the 'Owning Signal' container reference.
|
java.util.List<Property> |
getQualifier()
Returns the value of the 'Qualifier' containment reference list.
|
java.util.Collection<Property> |
getRedefinedProperty()
Returns the value of the 'Redefined Property' reference list.
|
java.util.Collection<Property> |
getSubsettedProperty()
Returns the value of the 'Subsetted Property' reference list.
|
Class |
getUMLClass()
Returns the value of the 'UML Class' container reference.
|
boolean |
has_connectorEndOfPartWithPort() |
boolean |
has_interactionUseOfReturnValueRecipient() |
boolean |
has_linkEndDataOfEnd() |
boolean |
has_propertyOfRedefinedProperty() |
boolean |
has_propertyOfSubsettedProperty() |
boolean |
has_qualifierValueOfQualifier() |
boolean |
has_readLinkObjectEndActionOfEnd() |
boolean |
has_readLinkObjectEndQualifierActionOfQualifier() |
boolean |
hasQualifier() |
boolean |
hasRedefinedProperty() |
boolean |
hasSubsettedProperty() |
boolean |
isComposite()
Returns the value of the 'Composite' attribute.
|
boolean |
isDerived()
Returns the value of the 'Derived' attribute.
|
boolean |
isDerivedUnion()
Returns the value of the 'Derived Union' attribute.
|
boolean |
isID()
Returns the value of the 'ID' attribute.
|
boolean |
isNavigable()
The query isNavigable() indicates whether it is possible to navigate across the property.
|
void |
set_artifactOfOwnedAttribute(Artifact value)
Sets the value of the '
artifact Of Owned Attribute '
container reference. |
void |
set_associationOfNavigableOwnedEnd(Association value)
Sets the value of the
'
association Of Navigable Owned End ' reference. |
void |
set_structuredClassifierOfOwnedAttribute(StructuredClassifier value)
Sets the value of the '
structured Classifier Of
Owned Attribute ' container reference. |
void |
setAggregation(AggregationKind value)
Sets the value of the '
Aggregation ' attribute. |
void |
setAssociation(Association value)
Sets the value of the '
Association ' reference. |
void |
setAssociationEnd(Property value)
Sets the value of the '
Association End ' container reference. |
void |
setClassifier(Classifier value)
Sets the value of the '
Classifier ' reference. |
void |
setDatatype(DataType value)
Sets the value of the '
Datatype ' container reference. |
void |
setDefaultValue(ValueSpecification value)
Sets the value of the '
Default Value ' containment reference. |
void |
setDerived(boolean value)
Sets the value of the '
Derived ' attribute. |
void |
setDerivedUnion(boolean value)
Sets the value of the '
Derived Union ' attribute. |
void |
setID(boolean value)
Sets the value of the '
ID ' attribute. |
void |
setInterface(Interface value)
Sets the value of the '
Interface ' container reference. |
void |
setOwningAssociation(Association value)
Sets the value of the '
Owning Association ' container reference. |
void |
setOwningSignal(Signal value)
Sets the value of the '
Owning Signal ' container reference. |
void |
setUMLClass(Class value)
Sets the value of the '
UML Class ' container reference. |
get_slotOfDefiningFeature, get_structuralFeatureActionOfStructuralFeature, has_slotOfDefiningFeature, has_structuralFeatureActionOfStructuralFeature, isReadOnly, setReadOnly
getFeaturingClassifier, isStatic, setFeaturingClassifier, setStatic
get_redefinableElementOfRedefinedElement, getRedefinedElement, getRedefinitionContext, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeaf
get_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, getVisibility, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace, setVisibility
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotypeInstance, getOwnedComment, getOwnedElement, getOwner, getSyncElement, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasOwnedComment, hasOwnedElement, setAppliedStereotypeInstance, setOwner, setSyncElement
get_representationText, getLocalID, isInvalid, set_representationText, setLocalID, sGetLocalID
getID, getMDExtension, getMdExtensions, setID
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
getLower, getLowerValue, getUpper, getUpperValue, isOrdered, isUnique, setLowerValue, setOrdered, setUnique, setUpperValue
get_collaborationOfCollaborationRole, get_lifelineOfRepresents, get_structuredClassifierOfRole, getEnd, getTemplateParameter, has_collaborationOfCollaborationRole, has_lifelineOfRepresents, has_structuredClassifierOfRole, hasEnd, setTemplateParameter
getType, setType
get_templateParameterOfDefault, get_templateParameterOfOwnedDefault, get_templateParameterSubstitutionOfActual, get_templateParameterSubstitutionOfOwnedActual, getOwningTemplateParameter, has_templateParameterOfDefault, has_templateParameterSubstitutionOfActual, set_templateParameterOfOwnedDefault, set_templateParameterSubstitutionOfOwnedActual, setOwningTemplateParameter, setTemplateParameter
getDeployedElement, getDeployment, hasDeployedElement, hasDeployment
java.util.Collection<Property> get_propertyOfRedefinedProperty
java.util.Collection<Property> get_propertyOfSubsettedProperty
boolean hasRedefinedProperty
javax.jmi.reflect.JmiException
boolean has_propertyOfRedefinedProperty
javax.jmi.reflect.JmiException
boolean hasSubsettedProperty
javax.jmi.reflect.JmiException
boolean has_propertyOfSubsettedProperty
javax.jmi.reflect.JmiException
@CheckForNull Classifier getClassifier()
Attribute
'.
If the meaning of the 'Classifier' reference isn't clear, there really should be more of a description here...
setClassifier(Classifier)
,
UMLPackage.getProperty_Classifier()
,
Classifier.getAttribute()
void setClassifier(@CheckForNull Classifier value)
Classifier
' reference.
value
- the new value of the 'Classifier' reference.getClassifier()
@CheckForNull StructuredClassifier get_structuredClassifierOfOwnedAttribute()
Owned Attribute
'.
If the meaning of the 'structured Classifier Of Owned Attribute' container reference isn't clear, there really should be more of a description here...
set_structuredClassifierOfOwnedAttribute(StructuredClassifier)
,
UMLPackage.getProperty__structuredClassifierOfOwnedAttribute()
,
StructuredClassifier.getOwnedAttribute()
void set_structuredClassifierOfOwnedAttribute(@CheckForNull StructuredClassifier value)
structured Classifier Of
Owned Attribute
' container reference.
value
- the new value of the 'structured Classifier Of Owned Attribute' container reference.get_structuredClassifierOfOwnedAttribute()
@CheckForNull Association getOwningAssociation()
Owned End
'.
The owning association of this property, if any.
setOwningAssociation(Association)
,
UMLPackage.getProperty_OwningAssociation()
,
Association.getOwnedEnd()
void setOwningAssociation(@CheckForNull Association value)
Owning Association
' container reference.
value
- the new value of the 'Owning Association' container reference.getOwningAssociation()
@CheckForNull Association getAssociation()
Member End
'.
The Association of which this Property is a member, if any.
setAssociation(Association)
,
UMLPackage.getProperty_Association()
,
Association.getMemberEnd()
void setAssociation(@CheckForNull Association value)
Association
' reference.
value
- the new value of the 'Association' reference.getAssociation()
@CheckForNull Association get_associationOfNavigableOwnedEnd()
Navigable Owned End
'.
If the meaning of the 'association Of Navigable Owned End' reference isn't clear, there really should be more of a description here...
set_associationOfNavigableOwnedEnd(Association)
,
UMLPackage.getProperty__associationOfNavigableOwnedEnd()
,
Association.getNavigableOwnedEnd()
void set_associationOfNavigableOwnedEnd(@CheckForNull Association value)
association Of Navigable Owned End
' reference.
value
- the new value of the 'association Of Navigable Owned End' reference.get_associationOfNavigableOwnedEnd()
@CheckForNull Signal getOwningSignal()
Owned Attribute
'.
If the meaning of the 'Owning Signal' container reference isn't clear, there really should be more of a description here...
setOwningSignal(Signal)
,
UMLPackage.getProperty_OwningSignal()
,
Signal.getOwnedAttribute()
void setOwningSignal(@CheckForNull Signal value)
Owning Signal
' container reference.
value
- the new value of the 'Owning Signal' container reference.getOwningSignal()
java.util.Collection<ReadLinkObjectEndAction> get_readLinkObjectEndActionOfEnd()
ReadLinkObjectEndAction
.
It is bidirectional and its opposite is 'End
'.
If the meaning of the 'read Link Object End Action Of End' reference isn't clear, there really should be more of a description here...
UMLPackage.getProperty__readLinkObjectEndActionOfEnd()
,
ReadLinkObjectEndAction.getEnd()
java.util.Collection<QualifierValue> get_qualifierValueOfQualifier()
QualifierValue
.
It is bidirectional and its opposite is 'Qualifier
'.
If the meaning of the 'qualifier Value Of Qualifier' reference list isn't clear, there really should be more of a description here...
UMLPackage.getProperty__qualifierValueOfQualifier()
,
QualifierValue.getQualifier()
java.util.Collection<LinkEndData> get_linkEndDataOfEnd()
LinkEndData
.
It is bidirectional and its opposite is 'End
'.
If the meaning of the 'link End Data Of End' reference list isn't clear, there really should be more of a description here...
UMLPackage.getProperty__linkEndDataOfEnd()
,
LinkEndData.getEnd()
java.util.Collection<ReadLinkObjectEndQualifierAction> get_readLinkObjectEndQualifierActionOfQualifier()
ReadLinkObjectEndQualifierAction
.
It is bidirectional and its opposite is
'Qualifier
'.
If the meaning of the 'read Link Object End Qualifier Action Of Qualifier' reference isn't clear, there really should be more of a description here...
UMLPackage.getProperty__readLinkObjectEndQualifierActionOfQualifier()
,
ReadLinkObjectEndQualifierAction.getQualifier()
@CheckForNull Class getUMLClass()
Owned Attribute
'.
The Class that owns this Property, if any.
setUMLClass(Class)
,
UMLPackage.getProperty_UMLClass()
,
Class.getOwnedAttribute()
void setUMLClass(@CheckForNull Class value)
UML Class
' container reference.
value
- the new value of the 'UML Class' container reference.getUMLClass()
java.util.Collection<ConnectorEnd> get_connectorEndOfPartWithPort()
ConnectorEnd
.
It is bidirectional and its opposite is
'Part With Port
'.
If the meaning of the 'connector End Of Part With Port' reference list isn't clear, there really should be more of a description here...
UMLPackage.getProperty__connectorEndOfPartWithPort()
,
ConnectorEnd.getPartWithPort()
@CheckForNull DataType getDatatype()
Owned Attribute
'.
The DataType that owns this Property, if any.
setDatatype(DataType)
,
UMLPackage.getProperty_Datatype()
,
DataType.getOwnedAttribute()
void setDatatype(@CheckForNull DataType value)
Datatype
' container reference.
value
- the new value of the 'Datatype' container reference.getDatatype()
@CheckForNull Interface getInterface()
Owned Attribute
'.
The Interface that owns this Property, if any.
setInterface(Interface)
,
UMLPackage.getProperty_Interface()
,
Interface.getOwnedAttribute()
void setInterface(@CheckForNull Interface value)
Interface
' container reference.
value
- the new value of the 'Interface' container reference.getInterface()
@CheckForNull Artifact get_artifactOfOwnedAttribute()
Owned Attribute
'.
If the meaning of the 'artifact Of Owned Attribute' container reference isn't clear, there really should be more of a description here...
set_artifactOfOwnedAttribute(Artifact)
,
UMLPackage.getProperty__artifactOfOwnedAttribute()
,
Artifact.getOwnedAttribute()
void set_artifactOfOwnedAttribute(@CheckForNull Artifact value)
artifact Of Owned Attribute
'
container reference.
value
- the new value of the 'artifact Of Owned Attribute' container reference.get_artifactOfOwnedAttribute()
java.util.Collection<InteractionUse> get_interactionUseOfReturnValueRecipient()
InteractionUse
.
It is bidirectional and its opposite is
'Return Value Recipient
'.
If the meaning of the 'interaction Use Of Return Value Recipient' reference list isn't clear, there really should be more of a description here...
UMLPackage.getProperty__interactionUseOfReturnValueRecipient()
,
InteractionUse.getReturnValueRecipient()
@CheckForNull AggregationKind getAggregation()
"none"
.
The literals are from the enumeration AggregationKind
.
Specifies the kind of aggregation that applies to the Property.
AggregationKind
,
setAggregation(AggregationKind)
,
UMLPackage.getProperty_Aggregation()
void setAggregation(@CheckForNull AggregationKind value)
Aggregation
' attribute.
value
- the new value of the 'Aggregation' attribute.AggregationKind
,
getAggregation()
java.util.Collection<Property> getRedefinedProperty()
Property
.
It is bidirectional and its opposite is
'property Of Redefined Property
'.
The properties that are redefined by this property, if any.
UMLPackage.getProperty_RedefinedProperty()
,
get_propertyOfRedefinedProperty()
java.util.Collection<Property> get_propertyOfRedefinedProperty()
@CheckForNull ValueSpecification getDefaultValue()
Owning Property
'.
A ValueSpecification that is evaluated to give a default value for the Property when an instance of the owning Classifier is instantiated.
setDefaultValue(ValueSpecification)
,
UMLPackage.getProperty_DefaultValue()
,
ValueSpecification.getOwningProperty()
void setDefaultValue(@CheckForNull ValueSpecification value)
Default Value
' containment reference.
value
- the new value of the 'Default Value' containment reference.getDefaultValue()
boolean isComposite()
"false"
.
If isComposite is true, the object containing the attribute is a container for the object or value contained in the attribute. This is a derived value,
indicating whether the aggregation of the Property is composite or not.
UMLPackage.getProperty_Composite()
boolean isDerived()
"false"
.
Specifies whether the Property is derived, i.e., whether its value or values can be computed from other information.
setDerived(boolean)
,
UMLPackage.getProperty_Derived()
void setDerived(boolean value)
Derived
' attribute.
value
- the new value of the 'Derived' attribute.isDerived()
boolean isDerivedUnion()
"false"
.
Specifies whether the property is derived as the union of all of the Properties that are constrained to subset it.
setDerivedUnion(boolean)
,
UMLPackage.getProperty_DerivedUnion()
void setDerivedUnion(boolean value)
Derived Union
' attribute.
value
- the new value of the 'Derived Union' attribute.isDerivedUnion()
boolean isID()
"false"
.
True indicates this property can be used to uniquely identify an instance of the containing Class.
setID(boolean)
,
UMLPackage.getProperty_ID()
void setID(boolean value)
ID
' attribute.
value
- the new value of the 'ID' attribute.isID()
@CheckForNull Property getOpposite()
property Of Opposite
'.
In the case where the Property is one end of a binary association this gives the other end.
UMLPackage.getProperty_Opposite()
,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property#get_propertyOfOpposite
java.util.Collection<Property> getSubsettedProperty()
Property
.
It is bidirectional and its opposite is
'property Of Subsetted Property
'.
The properties of which this Property is constrained to be a subset, if any.
UMLPackage.getProperty_SubsettedProperty()
,
get_propertyOfSubsettedProperty()
java.util.Collection<Property> get_propertyOfSubsettedProperty()
java.util.List<Property> getQualifier()
Property
.
It is bidirectional and its opposite is 'Association End
'.
An optional list of ordered qualifier attributes for the end.
UMLPackage.getProperty_Qualifier()
,
getAssociationEnd()
@CheckForNull Property getAssociationEnd()
Qualifier
'.
Designates the optional association end that owns a qualifier attribute.
setAssociationEnd(Property)
,
UMLPackage.getProperty_AssociationEnd()
,
getQualifier()
void setAssociationEnd(@CheckForNull Property value)
Association End
' container reference.
value
- the new value of the 'Association End' container reference.getAssociationEnd()
boolean isNavigable()
boolean has_qualifierValueOfQualifier() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean has_readLinkObjectEndActionOfEnd() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean has_readLinkObjectEndQualifierActionOfQualifier() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean has_interactionUseOfReturnValueRecipient() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean has_linkEndDataOfEnd() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean has_connectorEndOfPartWithPort() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasRedefinedProperty() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean has_propertyOfRedefinedProperty() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasSubsettedProperty() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean has_propertyOfSubsettedProperty() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasQualifier() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException