Interface InstanceSpecification
-
- All Superinterfaces:
BaseElement
,java.lang.Cloneable
,java.lang.Comparable
,DeployedArtifact
,DeploymentTarget
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,ModelObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,PackageableElement
,ParameterableElement
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
- All Known Subinterfaces:
EnumerationLiteral
public interface InstanceSpecification extends PackageableElement, DeploymentTarget, DeployedArtifact
A representation of the model object 'Instance Specification'.An InstanceSpecification is a model element that represents an instance in a modeled system. An InstanceSpecification can act as a DeploymentTarget in a Deployment relationship, in the case that it represents an instance of a Node. It can also act as a DeployedArtifact, if it represents an instance of an Artifact.
The following features are supported:
- See Also:
UMLPackage.getInstanceSpecification()
- Model:
- annotation="MOF package='classes.mdkernel'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<InstanceValue>
get_instanceValueOfInstance()
Returns the value of the 'instance Value Of Instance' reference list.java.util.List<Classifier>
getClassifier()
Returns the value of the 'Classifier' reference list.java.util.Collection<Slot>
getSlot()
Returns the value of the 'Slot' containment reference list.ValueSpecification
getSpecification()
Returns the value of the 'Specification' containment reference.boolean
has_instanceValueOfInstance()
boolean
hasClassifier()
boolean
hasSlot()
Returns the value of the 'Classifier' reference list.void
setSpecification(ValueSpecification value)
Sets the value of the 'Specification
' containment reference.-
Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.deployments.mdnodes.DeployedArtifact
get_deploymentOfDeployedArtifact, has_deploymentOfDeployedArtifact
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.deployments.mdnodes.DeploymentTarget
getDeployedElement, getDeployment, hasDeployedElement, hasDeployment
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElement
-
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 com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, getLocalID, ignoringRefGetValue, ignoringRefGetValue, isInvalid, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText, setLocalID, sGetLocalID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.NamedElement
get_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.PackageableElement
get_componentOfPackagedElement, get_elementImportOfImportedElement, get_manifestationOfUtilizedElement, getOwningPackage, getVisibility, has_elementImportOfImportedElement, has_manifestationOfUtilizedElement, set_componentOfPackagedElement, setOwningPackage, setVisibility
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.auxiliaryconstructs.mdtemplates.ParameterableElement
get_templateParameterOfDefault, get_templateParameterOfOwnedDefault, get_templateParameterSubstitutionOfActual, get_templateParameterSubstitutionOfOwnedActual, getOwningTemplateParameter, getTemplateParameter, has_templateParameterOfDefault, has_templateParameterSubstitutionOfActual, set_templateParameterOfOwnedDefault, set_templateParameterSubstitutionOfOwnedActual, setOwningTemplateParameter, setTemplateParameter
-
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
-
-
-
-
Method Detail
-
getSlot
java.util.Collection<Slot> getSlot()
Returns the value of the 'Slot' containment reference list. The list contents are of typeSlot
. It is bidirectional and its opposite is 'Owning Instance
'. A Slot giving the value or values of a StructuralFeature of the instance. An InstanceSpecification can have one Slot per StructuralFeature of its Classifiers, including inherited features. It is not necessary to model a Slot for every StructuralFeature, in which case the InstanceSpecification is a partial description.- Returns:
- the value of the 'Slot' containment reference list.
- See Also:
UMLPackage.getInstanceSpecification_Slot()
,Slot.getOwningInstance()
- Model:
- opposite="owningInstance" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getSpecification
@CheckForNull ValueSpecification getSpecification()
Returns the value of the 'Specification' containment reference. It is bidirectional and its opposite is 'Owning Instance Spec
'. A specification of how to compute, derive, or construct the instance.- Returns:
- the value of the 'Specification' containment reference.
- See Also:
setSpecification(ValueSpecification)
,UMLPackage.getInstanceSpecification_Specification()
,ValueSpecification.getOwningInstanceSpec()
- Model:
- opposite="owningInstanceSpec" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
setSpecification
void setSpecification(@CheckForNull ValueSpecification value)
Sets the value of the 'Specification
' containment reference.- Parameters:
value
- the new value of the 'Specification' containment reference.- See Also:
getSpecification()
- Generated:
-
getClassifier
java.util.List<Classifier> getClassifier()
Returns the value of the 'Classifier' reference list. The list contents are of typeClassifier
. It is bidirectional and its opposite is 'instance Specification Of Classifier
'. The Classifier or Classifiers of the represented instance. If multiple Classifiers are specified, the instance is classified by all of them.- Returns:
- the value of the 'Classifier' reference list.
- See Also:
UMLPackage.getInstanceSpecification_Classifier()
,Classifier.get_instanceSpecificationOfClassifier()
- Model:
- opposite="_instanceSpecificationOfClassifier"
- Generated:
-
get_instanceValueOfInstance
java.util.Collection<InstanceValue> get_instanceValueOfInstance()
Returns the value of the 'instance Value Of Instance' reference list. The list contents are of typeInstanceValue
. It is bidirectional and its opposite is 'Instance
'.If the meaning of the 'instance Value Of Instance' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'instance Value Of Instance' reference list.
- See Also:
UMLPackage.getInstanceSpecification__instanceValueOfInstance()
,InstanceValue.getInstance()
- Model:
- opposite="instance" ordered="false"
- Generated:
-
hasSlot
boolean hasSlot() throws javax.jmi.reflect.JmiException
Returns the value of the 'Classifier' reference list. The list contents are of typeClassifier
. It is bidirectional and its opposite is 'instance Specification Of Classifier
'. The Classifier or Classifiers of the represented instance. If multiple Classifiers are specified, the instance is classified by all of them.- Returns:
- the value of the 'Classifier' reference list.
- Throws:
javax.jmi.reflect.JmiException
- See Also:
UMLPackage.getInstanceSpecification_Classifier()
,Classifier.get_instanceSpecificationOfClassifier()
- Model:
- opposite="_instanceSpecificationOfClassifier" resolveProxies="false"
- Generated:
-
hasClassifier
boolean hasClassifier() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
has_instanceValueOfInstance
boolean has_instanceValueOfInstance() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
-