uk.ac.ucl.cs.uml.jmi.BehavioralElements.CommonBehavior
Interface Instance

All Superinterfaces:
Element, ExtObject, ModelElement, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject
All Known Subinterfaces:
ComponentInstance, DataValue, LinkObject, NodeInstance, SubsystemInstance, UMLObject, UseCaseInstance
All Known Implementing Classes:
ComponentInstance_Impl, DataValue_Impl, Instance_Impl, LinkObject_Impl, NodeInstance_Impl, Object_Impl, SubsystemInstance_Impl, UseCaseInstance_Impl

public interface Instance
extends ModelElement

The instance construct defines an entity to which a set of operations can be applied and which has a state that stores the effects of the operations. In the metamodel, Instance is connected to at least one Classifier that declares its structure and behavior. It has a set of attribute values and is connected to a set of Links, both sets matching the definitions of its Classifiers. The two sets implement the current state of the Instance. An Instance may also own other Instances or Links. Instance is an abstract metaclass.


Method Summary
 Collection getClassifier()
           
 LinkEnd getLinkEnd()
           
 Collection getOwnedInstance()
           
 Collection getOwnedLink()
           
 Collection getOwner()
           
 Collection getPlayedRole()
           
 Collection getSlot()
           
 void setLinkEnd(LinkEnd linkEnd)
          Setter for atomic property linkEnd)
 
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.Foundation.Core.ModelElement
getAsArgument, getBehavior, getClientDependency, getComment, getConstraint, getContainer, getDefaultElement, getIsSpecification, getName, getNamespace, getPackage, getPresentation, getReferenceTag, getSourceFlow, getStereotype, getSupplierDependency, getTaggedValue, getTargetFlow, getTemplate, getTemplateArgument, getTemplateParameter, getVisibility, setDefaultElement, setIsSpecification, setName, setNamespace, setTemplate, setVisibility
 
Methods inherited from interface uk.ac.ucl.cs.emofocl.jmi.reflect.extended.ExtObject
extAddObjectListener, extDeepCopy, extDeepCopy, extEquals, extRemoveObjectListener, extValueHash, extVisit
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

getLinkEnd

LinkEnd getLinkEnd()
                   throws javax.jmi.reflect.JmiException
Throws:
javax.jmi.reflect.JmiException

setLinkEnd

void setLinkEnd(LinkEnd linkEnd)
                throws javax.jmi.reflect.JmiException
Setter for atomic property linkEnd)

Throws:
javax.jmi.reflect.JmiException

getClassifier

Collection getClassifier()
                         throws javax.jmi.reflect.JmiException
Throws:
javax.jmi.reflect.JmiException

getOwner

Collection getOwner()
                    throws javax.jmi.reflect.JmiException
Throws:
javax.jmi.reflect.JmiException

getPlayedRole

Collection getPlayedRole()
                         throws javax.jmi.reflect.JmiException
Throws:
javax.jmi.reflect.JmiException

getOwnedInstance

Collection getOwnedInstance()
                            throws javax.jmi.reflect.JmiException
Throws:
javax.jmi.reflect.JmiException

getSlot

Collection getSlot()
                   throws javax.jmi.reflect.JmiException
Throws:
javax.jmi.reflect.JmiException

getOwnedLink

Collection getOwnedLink()
                        throws javax.jmi.reflect.JmiException
Throws:
javax.jmi.reflect.JmiException