Interface ModelObject
-
- All Superinterfaces:
BaseElement,java.lang.Cloneable,java.lang.Comparable,org.eclipse.emf.ecore.EObject,MDObject,com.dassault_systemes.modeler.model.ModelElement,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, com.dassault_systemes.modeler.model.ModelElement
A representation of the model object 'Model Object'.The following features are supported:
- See Also:
UMLPackage.getModelObject()- Model:
- abstract="true"
- Generated:
- NOT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.Stringget_representationText()Returns the value of the 'representation Text' attribute.default java.lang.ObjectignoringRefGetValue(java.lang.String feature)Does the same asrefGetValue(String), but does not throw @InvalidCallExceptionif feature is missing this object.java.lang.ObjectignoringRefGetValue(java.lang.String featureName, java.lang.Object expressionValueContext)Gets value regarding provided context, does not throw @InvalidCallExceptionif feature is missing this object.booleanisInvalid()booleanisSet(java.lang.String featureName, java.lang.Object expressionValueContext)Checks if value is present regarding the contextdefault java.lang.ObjectrefGetValue(java.lang.String featureName)java.lang.ObjectrefGetValue(java.lang.String featureName, java.lang.Object expressionValueContext)Gets the value regarding provided context.default voidrefSetValue(java.lang.String featureName, java.lang.Object value)Sets the value for featurevoidrefSetValue(java.lang.String featureName, java.lang.Object value, java.lang.Object expressionValueContext)Sets the value regarding value contextvoidset_representationText(java.lang.String value)Sets the value of the 'representation Text' attribute.-
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 com.dassault_systemes.modeler.model.ModelElement
getLocalID, setLocalID, sGetLocalID
-
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
-
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),UMLPackage.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:
-
isInvalid
boolean isInvalid()
-
ignoringRefGetValue
@CheckForNull default java.lang.Object ignoringRefGetValue(java.lang.String feature)
Does the same asrefGetValue(String), but does not throw @InvalidCallExceptionif 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 throw @InvalidCallExceptionif 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:
refGetValuein 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:
refSetValuein 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
-
-