Interface ModelObject
-
- All Superinterfaces:
BaseElement
,java.lang.Cloneable
,java.lang.Comparable
,org.eclipse.emf.ecore.EObject
,MDObject
,org.eclipse.emf.common.notify.Notifier
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
- All Known Subinterfaces:
Abstraction
,AcceptCallAction
,AcceptEventAction
,Action
,ActionExecutionSpecification
,ActionInputPin
,Activity
,ActivityEdge
,ActivityFinalNode
,ActivityGroup
,ActivityNode
,ActivityParameterNode
,ActivityPartition
,Actor
,AddStructuralFeatureValueAction
,AddVariableValueAction
,AnyReceiveEvent
,Artifact
,Association
,AssociationClass
,Behavior
,BehavioralFeature
,BehavioredClassifier
,BehaviorExecutionSpecification
,BooleanTaggedValue
,BroadcastSignalAction
,CallAction
,CallBehaviorAction
,CallEvent
,CallOperationAction
,CentralBufferNode
,ChangeEvent
,Class
,Classifier
,ClassifierTemplateParameter
,Clause
,ClearAssociationAction
,ClearStructuralFeatureAction
,ClearVariableAction
,Collaboration
,CollaborationUse
,CombinedFragment
,Comment
,CommunicationPath
,Component
,ComponentRealization
,ConditionalNode
,ConnectableElement
,ConnectableElementTemplateParameter
,ConnectionPointReference
,Connector
,ConnectorEnd
,ConsiderIgnoreFragment
,Constraint
,Continuation
,ControlFlow
,ControlNode
,CreateLinkAction
,CreateLinkObjectAction
,CreateObjectAction
,DataStoreNode
,DataType
,DecisionNode
,Dependency
,DeployedArtifact
,Deployment
,DeploymentSpecification
,DeploymentTarget
,DestroyLinkAction
,DestroyObjectAction
,DestructionOccurrenceSpecification
,Device
,Diagram
,DirectedRelationship
,Duration
,DurationConstraint
,DurationInterval
,DurationObservation
,Element
,ElementImport
,ElementTaggedValue
,ElementValue
,EncapsulatedClassifier
,Enumeration
,EnumerationLiteral
,Event
,ExceptionHandler
,ExecutableNode
,ExecutionEnvironment
,ExecutionOccurrenceSpecification
,ExecutionSpecification
,ExpansionNode
,ExpansionRegion
,Expression
,Extend
,Extension
,ExtensionEnd
,ExtensionPoint
,Feature
,FinalNode
,FinalState
,FlowFinalNode
,ForkNode
,FunctionBehavior
,Gate
,Generalization
,GeneralizationSet
,GeneralOrdering
,Image
,Include
,InformationFlow
,InformationItem
,InitialNode
,InputPin
,InstanceSpecification
,InstanceValue
,IntegerTaggedValue
,Interaction
,InteractionConstraint
,InteractionFragment
,InteractionOperand
,InteractionUse
,Interface
,InterfaceRealization
,InterruptibleActivityRegion
,Interval
,IntervalConstraint
,InvocationAction
,JoinNode
,Lifeline
,LinkAction
,LinkEndCreationData
,LinkEndData
,LinkEndDestructionData
,LiteralBoolean
,LiteralInteger
,LiteralNull
,LiteralReal
,LiteralSpecification
,LiteralString
,LiteralUnlimitedNatural
,LoopNode
,Manifestation
,MergeNode
,Message
,MessageEnd
,MessageEvent
,MessageOccurrenceSpecification
,Model
,MultiplicityElement
,NamedElement
,Namespace
,Node
,ObjectFlow
,ObjectNode
,Observation
,OccurrenceSpecification
,OpaqueAction
,OpaqueBehavior
,OpaqueExpression
,Operation
,OperationTemplateParameter
,OutputPin
,Package
,PackageableElement
,PackageImport
,PackageMerge
,Parameter
,ParameterableElement
,ParameterSet
,PartDecomposition
,Pin
,Port
,PrimitiveType
,Profile
,ProfileApplication
,Property
,ProtocolConformance
,ProtocolStateMachine
,ProtocolTransition
,Pseudostate
,QualifierValue
,RaiseExceptionAction
,ReadExtentAction
,ReadIsClassifiedObjectAction
,ReadLinkAction
,ReadLinkObjectEndAction
,ReadLinkObjectEndQualifierAction
,ReadSelfAction
,ReadStructuralFeatureAction
,ReadVariableAction
,Realization
,RealTaggedValue
,Reception
,ReclassifyObjectAction
,RedefinableElement
,RedefinableTemplateSignature
,ReduceAction
,Region
,Relationship
,RemoveStructuralFeatureValueAction
,RemoveVariableValueAction
,ReplyAction
,SendObjectAction
,SendSignalAction
,SequenceNode
,Signal
,SignalEvent
,Slot
,StartClassifierBehaviorAction
,StartObjectBehaviorAction
,State
,StateInvariant
,StateMachine
,Stereotype
,StringExpression
,StringTaggedValue
,StructuralFeature
,StructuralFeatureAction
,StructuredActivityNode
,StructuredClassifier
,Substitution
,TaggedValue
,TemplateableElement
,TemplateBinding
,TemplateParameter
,TemplateParameterSubstitution
,TemplateSignature
,TestIdentityAction
,TimeConstraint
,TimeEvent
,TimeExpression
,TimeInterval
,TimeObservation
,Transition
,Trigger
,Type
,TypedElement
,UnmarshallAction
,Usage
,UseCase
,ValuePin
,ValueSpecification
,ValueSpecificationAction
,Variable
,VariableAction
,Vertex
,WriteLinkAction
,WriteStructuralFeatureAction
,WriteVariableAction
public interface ModelObject extends MDObject, javax.jmi.reflect.RefObject
A representation of the model object 'Model Object'.The following features are supported:
- See Also:
com.nomagic.uml2.ext.magicdraw.base.metadata.BasePackage#getModelObject()
- Model:
- abstract="true"
- Generated:
- NOT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.String
get_representationText()
Returns the value of the 'representation Text' attribute.java.lang.String
getLocalID()
default java.lang.Object
ignoringRefGetValue(java.lang.String feature)
Does the same asrefGetValue(String)
, but does not thrown @InvalidCallException
if feature is missing this object.java.lang.Object
ignoringRefGetValue(java.lang.String featureName, java.lang.Object expressionValueContext)
Gets value regarding provided context, does not thrown @InvalidCallException
if feature is missing this object.boolean
isInvalid()
boolean
isSet(java.lang.String featureName, java.lang.Object expressionValueContext)
Checks if value is present regarding the contextdefault java.lang.Object
refGetValue(java.lang.String featureName)
java.lang.Object
refGetValue(java.lang.String featureName, java.lang.Object expressionValueContext)
Gets the value regarding provided context.default void
refSetValue(java.lang.String featureName, java.lang.Object value)
Sets the value for featurevoid
refSetValue(java.lang.String featureName, java.lang.Object value, java.lang.Object expressionValueContext)
Sets the value regarding value contextvoid
set_representationText(java.lang.String value)
Sets the value of the 'representation Text
' attribute.void
setLocalID(java.lang.String newID)
java.lang.String
sGetLocalID()
-
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 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 org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
-
-
-
-
Method Detail
-
getLocalID
java.lang.String getLocalID()
-
setLocalID
void setLocalID(java.lang.String newID)
-
get_representationText
java.lang.String get_representationText()
Returns the value of the 'representation Text' attribute.If the meaning of the 'representation Text' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'representation Text' attribute.
- See Also:
set_representationText(String)
,com.nomagic.uml2.ext.magicdraw.base.metadata.BasePackage#getModelObject__representationText()
- Model:
- Generated:
-
set_representationText
void set_representationText(java.lang.String value)
Sets the value of the 'representation Text
' attribute.- Parameters:
value
- the new value of the 'representation Text' attribute.- See Also:
get_representationText()
- Generated:
-
sGetLocalID
java.lang.String sGetLocalID()
-
isInvalid
boolean isInvalid()
-
ignoringRefGetValue
@CheckForNull default java.lang.Object ignoringRefGetValue(java.lang.String feature)
Does the same asrefGetValue(String)
, but does not thrown @InvalidCallException
if feature is missing this object.- Parameters:
feature
- feature name- Returns:
- value or null if feature is missing
- See Also:
refGetValue(String)
,InvalidCallException
-
ignoringRefGetValue
@CheckForNull java.lang.Object ignoringRefGetValue(java.lang.String featureName, @CheckForNull java.lang.Object expressionValueContext)
Gets value regarding provided context, does not thrown @InvalidCallException
if feature is missing this object.- Parameters:
featureName
- feature nameexpressionValueContext
- the expression value context, can be null- Returns:
- value or null if feature is missing
-
refGetValue
@CheckForNull default java.lang.Object refGetValue(java.lang.String featureName)
- Specified by:
refGetValue
in interfacejavax.jmi.reflect.RefFeatured
-
refGetValue
@CheckForNull java.lang.Object refGetValue(java.lang.String featureName, @CheckForNull java.lang.Object expressionValueContext)
Gets the value regarding provided context.- Parameters:
featureName
- feature nameexpressionValueContext
- the expression value context, can be null- Returns:
- value or null if feature is missing
-
refSetValue
default void refSetValue(java.lang.String featureName, @CheckForNull java.lang.Object value)
Sets the value for feature- Specified by:
refSetValue
in interfacejavax.jmi.reflect.RefFeatured
- Parameters:
featureName
- feature namevalue
- the new value to set
-
refSetValue
void refSetValue(java.lang.String featureName, @CheckForNull java.lang.Object value, @CheckForNull java.lang.Object expressionValueContext)
Sets the value regarding value context- Parameters:
featureName
- feature namevalue
- the new value to setexpressionValueContext
- the expression value context, can be null
-
isSet
boolean isSet(java.lang.String featureName, @CheckForNull java.lang.Object expressionValueContext)
Checks if value is present regarding the context- Parameters:
featureName
- feature nameexpressionValueContext
- the expression value context, can be null- Returns:
- true if value for context is set, false otherwise
-
-