Interface ModelObject
- All Superinterfaces:
BaseElement,Cloneable,Comparable,org.eclipse.emf.ecore.EObject,MDObject,com.dassault_systemes.modeler.foundation.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.foundation.model.ModelElement
A representation of the model object 'Model Object'.
The following features are supported:
- See Also:
- Model:
- abstract="true"
- Generated:
- NOT
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'representation Text' attribute.default ObjectignoringRefGetValue(String feature) Does the same asrefGetValue(String), but does not throwInvalidCallExceptionif feature is missing this object.ignoringRefGetValue(String featureName, Object expressionValueContext) Gets value regarding provided context, does not throwInvalidCallExceptionif feature is missing this object.booleanChecks if value is present regarding the contextdefault ObjectrefGetValue(String featureName) refGetValue(String featureName, Object expressionValueContext) Gets the value regarding provided context.default voidrefSetValue(String featureName, Object value) Sets the value for featurevoidrefSetValue(String featureName, Object value, Object expressionValueContext) Sets the value regarding value contextvoidset_representationText(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, isEditable, removePropertyChangeListener, sGetIDMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setIDMethods inherited from interface com.dassault_systemes.modeler.foundation.model.ModelElement
canChangeElementOwner, eDynamicGet, getElementOwner, getLocalID, getObjectParent, selfDispose, setLocalID, sGetLocalIDMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraintsMethods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refInvokeOperation, refInvokeOperation, refSetValueMethods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
-
Method Details
-
get_representationText
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:
- Model:
- Generated:
-
set_representationText
Sets the value of the 'representation Text' attribute.- Parameters:
value- the new value of the 'representation Text' attribute.- See Also:
- Generated:
-
ignoringRefGetValue
Does the same asrefGetValue(String), but does not throwInvalidCallExceptionif feature is missing this object.- Parameters:
feature- feature name- Returns:
- value or null if feature is missing
- See Also:
-
refGetValue(String)InvalidCallException
-
ignoringRefGetValue
@CheckForNull Object ignoringRefGetValue(String featureName, @CheckForNull Object expressionValueContext) Gets value regarding provided context, does not throwInvalidCallExceptionif 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
- Specified by:
refGetValuein interfacejavax.jmi.reflect.RefFeatured
-
refGetValue
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
Sets the value for feature- Specified by:
refSetValuein interfacejavax.jmi.reflect.RefFeatured- Parameters:
featureName- feature namevalue- the new value to set
-
refSetValue
void refSetValue(String featureName, @CheckForNull Object value, @CheckForNull 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
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
-