Interface Class
- All Superinterfaces:
BaseElement,BehavioredClassifier,Classifier,Cloneable,Comparable,Element,EncapsulatedClassifier,org.eclipse.emf.ecore.EObject,MDObject,com.dassault_systemes.modeler.foundation.model.ModelElement,ModelObject,NamedElement,Namespace,org.eclipse.emf.common.notify.Notifier,PackageableElement,ParameterableElement,RedefinableElement,javax.jmi.reflect.RefBaseObject,javax.jmi.reflect.RefFeatured,javax.jmi.reflect.RefObject,StructuredClassifier,TemplateableElement,Type
- All Known Subinterfaces:
Activity,AssociationClass,Behavior,Component,Device,ExecutionEnvironment,FunctionBehavior,Interaction,Node,OpaqueBehavior,ProtocolStateMachine,StateMachine,Stereotype
A representation of the model object 'Class'.
A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects. A Class may have an internal structure and Ports.
The following features are supported:
- See Also:
- Model:
- annotation="MOF package='classes.mdkernel'"
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Extension' reference list.Returns the value of the 'Nested Classifier' containment reference list.Returns the value of the 'Owned Attribute' containment reference list.Returns the value of the 'Owned Operation' containment reference list.Returns the value of the 'Owned Reception' containment reference list.Returns the value of the 'Super Class' reference list.booleanbooleanbooleanbooleanbooleanbooleanReturns the value of the 'Abstract' attribute.booleanisActive()Returns the value of the 'Active' attribute.voidsetAbstract(boolean value) Sets the value of the 'Abstract' attribute.voidsetActive(boolean value) Sets the value of the 'Active' 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 com.nomagic.uml2.ext.magicdraw.commonbehaviors.mdbasicbehaviors.BehavioredClassifier
getClassifierBehavior, getInterfaceRealization, getOwnedBehavior, hasInterfaceRealization, hasOwnedBehavior, setClassifierBehaviorMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Classifier
get_classifierOfRedefinedClassifier, get_classifierTemplateParameterOfConstrainingClassifier, get_componentRealizationOfRealizingClassifier, get_createObjectActionOfClassifier, get_exceptionHandlerOfExceptionType, get_generalizationOfGeneral, get_informationFlowOfConveyed, get_informationItemOfRepresented, get_instanceSpecificationOfClassifier, get_interfaceOfNestedClassifier, get_readExtentActionOfClassifier, get_readIsClassifiedObjectActionOfClassifier, get_reclassifyObjectActionOfNewClassifier, get_reclassifyObjectActionOfOldClassifier, get_redefinableElementOfRedefinitionContext, get_substitutionOfContract, get_unmarshallActionOfUnmarshallType, getAttribute, getCollaborationUse, getFeature, getGeneral, getGeneralization, getInheritedMember, getOwnedTemplateSignature, getOwnedUseCase, getPowertypeExtent, getRedefinedClassifier, getRepresentation, getSubstitution, getTemplateParameter, getUMLClass, getUseCase, has_classifierOfRedefinedClassifier, has_classifierTemplateParameterOfConstrainingClassifier, has_componentRealizationOfRealizingClassifier, has_createObjectActionOfClassifier, has_exceptionHandlerOfExceptionType, has_generalizationOfGeneral, has_informationFlowOfConveyed, has_informationItemOfRepresented, has_instanceSpecificationOfClassifier, has_readExtentActionOfClassifier, has_readIsClassifiedObjectActionOfClassifier, has_reclassifyObjectActionOfNewClassifier, has_reclassifyObjectActionOfOldClassifier, has_redefinableElementOfRedefinitionContext, has_substitutionOfContract, has_unmarshallActionOfUnmarshallType, hasAttribute, hasCollaborationUse, hasFeature, hasGeneral, hasGeneralization, hasInheritedMember, hasOwnedUseCase, hasPowertypeExtent, hasRedefinedClassifier, hasSubstitution, hasUseCase, isFinalSpecialization, set_interfaceOfNestedClassifier, setFinalSpecialization, setOwnedTemplateSignature, setRepresentation, setTemplateParameter, setUMLClassMethods inherited from interface java.lang.Comparable
compareToMethods 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, setSyncElementMethods inherited from interface com.nomagic.uml2.ext.magicdraw.compositestructures.mdports.EncapsulatedClassifier
getOwnedPort, hasOwnedPortMethods 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 com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, ignoringRefGetValue, ignoringRefGetValue, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationTextMethods 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, setNamespaceMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Namespace
getElementImport, getImportedMember, getMember, getOwnedDiagram, getOwnedMember, getOwnedRule, getPackageImport, hasElementImport, hasImportedMember, hasMember, hasOwnedDiagram, hasOwnedMember, hasOwnedRule, hasPackageImportMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods 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, setVisibilityMethods inherited from interface com.nomagic.uml2.ext.magicdraw.auxiliaryconstructs.mdtemplates.ParameterableElement
get_templateParameterOfDefault, get_templateParameterOfOwnedDefault, get_templateParameterSubstitutionOfActual, get_templateParameterSubstitutionOfOwnedActual, getOwningTemplateParameter, has_templateParameterOfDefault, has_templateParameterSubstitutionOfActual, set_templateParameterOfOwnedDefault, set_templateParameterSubstitutionOfOwnedActual, setOwningTemplateParameter, setTemplateParameterMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.RedefinableElement
get_redefinableElementOfRedefinedElement, getRedefinedElement, getRedefinitionContext, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeafMethods 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, refOutermostCompositeMethods inherited from interface com.nomagic.uml2.ext.magicdraw.compositestructures.mdinternalstructures.StructuredClassifier
getOwnedConnector, getPart, getRole, hasOwnedAttribute, hasOwnedConnector, hasPart, hasRoleMethods inherited from interface com.nomagic.uml2.ext.magicdraw.auxiliaryconstructs.mdtemplates.TemplateableElement
getTemplateBinding, hasTemplateBinding, setOwnedTemplateSignatureMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Type
get_associationOfEndType, get_behavioralFeatureOfRaisedException, get_operationOfRaisedException, get_typedElementOfType, getPackage, has_associationOfEndType, has_behavioralFeatureOfRaisedException, has_operationOfRaisedException, has_typedElementOfType, setPackage
-
Method Details
-
getExtension
Collection<Extension> getExtension()Returns the value of the 'Extension' reference list. The list contents are of typeExtension. It is bidirectional and its opposite is 'Metaclass'. This property is used when the Class is acting as a metaclass. It references the Extensions that specify additional properties of the metaclass. The property is derived from the Extensions whose memberEnds are typed by the Class.- Returns:
- the value of the 'Extension' reference list.
- See Also:
- Model:
- opposite="metaclass" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
- Generated:
-
isActive
boolean isActive()Returns the value of the 'Active' attribute. The default value is"false". Determines whether an object specified by this Class is active or not. If true, then the owning Class is referred to as an active Class. If false, then such a Class is referred to as a passive Class.- Returns:
- the value of the 'Active' attribute.
- See Also:
-
setActive(boolean)com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getClass_Active()
- Model:
- default="false" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
- Generated:
-
setActive
void setActive(boolean value) Sets the value of the 'Active' attribute.- Parameters:
value- the new value of the 'Active' attribute.- See Also:
- Generated:
-
getNestedClassifier
List<Classifier> getNestedClassifier()Returns the value of the 'Nested Classifier' containment reference list. The list contents are of typeClassifier. It is bidirectional and its opposite is 'UML Class'. The Classifiers owned by the Class that are not ownedBehaviors.- Returns:
- the value of the 'Nested Classifier' containment reference list.
- See Also:
- Model:
- opposite="UMLClass" containment="true" resolveProxies="true"
- Generated:
-
getOwnedOperation
Returns the value of the 'Owned Operation' containment reference list. The list contents are of typeOperation. It is bidirectional and its opposite is 'UML Class'. The Operations owned by the Class.- Returns:
- the value of the 'Owned Operation' containment reference list.
- See Also:
- Model:
- opposite="UMLClass" containment="true" resolveProxies="true"
- Generated:
-
getSuperClass
Collection<Class> getSuperClass()Returns the value of the 'Super Class' reference list. The list contents are of typeClass. It is bidirectional and its opposite is 'class Of Super Class'. The superclasses of a Class, derived from its Generalizations.- Returns:
- the value of the 'Super Class' reference list.
- See Also:
-
UMLPackage.getClass_SuperClass()com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class#get_classOfSuperClass
- Model:
- opposite="_classOfSuperClass" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
- Generated:
-
getOwnedReception
Collection<Reception> getOwnedReception()Returns the value of the 'Owned Reception' containment reference list. The list contents are of typeReception. It is bidirectional and its opposite is 'class Of Owned Reception'. The Receptions owned by the Class.- Returns:
- the value of the 'Owned Reception' containment reference list.
- See Also:
- Model:
- opposite="_classOfOwnedReception" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getOwnedAttribute
Returns the value of the 'Owned Attribute' containment reference list. The list contents are of typeProperty. It is bidirectional and its opposite is 'UML Class'. The attributes (i.e., the Properties) owned by the Class.- Specified by:
getOwnedAttributein interfaceStructuredClassifier- Returns:
- the value of the 'Owned Attribute' containment reference list.
- See Also:
- Model:
- opposite="UMLClass" containment="true" resolveProxies="true"
- Generated:
-
isAbstract
boolean isAbstract()Returns the value of the 'Abstract' attribute. The default value is"false". If true, the Class does not provide a complete declaration and cannot be instantiated. An abstract Class is typically used as a target of Associations or Generalizations.- Specified by:
isAbstractin interfaceClassifier- Returns:
- the value of the 'Abstract' attribute.
- See Also:
- Model:
- default="false" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
- Generated:
-
setAbstract
void setAbstract(boolean value) Sets the value of the 'Abstract' attribute.- Specified by:
setAbstractin interfaceClassifier- Parameters:
value- the new value of the 'Abstract' attribute.- See Also:
- Generated:
-
hasExtension
boolean hasExtension() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
hasNestedClassifier
boolean hasNestedClassifier() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
hasOwnedOperation
boolean hasOwnedOperation() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
hasSuperClass
boolean hasSuperClass() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
hasOwnedReception
boolean hasOwnedReception() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-