public interface Class extends EncapsulatedClassifier, BehavioredClassifier
The following features are supported:
UMLPackage.getClass_()| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<Extension> |
getExtension()
Returns the value of the 'Extension' reference list.
|
java.util.List<Classifier> |
getNestedClassifier()
Returns the value of the 'Nested Classifier' containment reference list.
|
java.util.List<Property> |
getOwnedAttribute()
Returns the value of the 'Owned Attribute' containment reference list.
|
java.util.List<Operation> |
getOwnedOperation()
Returns the value of the 'Owned Operation' containment reference list.
|
java.util.Collection<Reception> |
getOwnedReception()
Returns the value of the 'Owned Reception' containment reference list.
|
java.util.Collection<Class> |
getSuperClass()
Returns the value of the 'Super Class' reference list.
|
boolean |
hasExtension() |
boolean |
hasNestedClassifier() |
boolean |
hasOwnedOperation() |
boolean |
hasOwnedReception() |
boolean |
hasSuperClass() |
boolean |
isAbstract()
Returns the value of the 'Abstract' attribute.
|
boolean |
isActive()
Returns the value of the 'Active' attribute.
|
void |
setAbstract(boolean value)
Sets the value of the '
Abstract' attribute. |
void |
setActive(boolean value)
Sets the value of the '
Active' attribute. |
getOwnedPort, hasOwnedPortgetOwnedConnector, getPart, getRole, hasOwnedAttribute, hasOwnedConnector, hasPart, hasRoleget_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, setUMLClassget_associationOfEndType, get_behavioralFeatureOfRaisedException, get_operationOfRaisedException, get_typedElementOfType, getPackage, has_associationOfEndType, has_behavioralFeatureOfRaisedException, has_operationOfRaisedException, has_typedElementOfType, setPackageget_componentOfPackagedElement, get_elementImportOfImportedElement, get_manifestationOfUtilizedElement, getOwningPackage, getVisibility, has_elementImportOfImportedElement, has_manifestationOfUtilizedElement, set_componentOfPackagedElement, setOwningPackage, setVisibilityget_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, setNamespaceget_templateParameterOfDefault, get_templateParameterOfOwnedDefault, get_templateParameterSubstitutionOfActual, get_templateParameterSubstitutionOfOwnedActual, getOwningTemplateParameter, has_templateParameterOfDefault, has_templateParameterSubstitutionOfActual, set_templateParameterOfOwnedDefault, set_templateParameterSubstitutionOfOwnedActual, setOwningTemplateParameter, setTemplateParameterget_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotypeInstance, getOwnedComment, getOwnedElement, getOwner, getSyncElement, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasOwnedComment, hasOwnedElement, setAppliedStereotypeInstance, setOwner, setSyncElementget_representationText, getLocalID, isInvalid, set_representationText, setLocalID, sGetLocalIDgetID, getMDExtension, getMdExtensions, setIDeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDeliveraccept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetIDrefClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostCompositerefGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValueequals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraintsgetElementImport, getImportedMember, getMember, getOwnedDiagram, getOwnedMember, getOwnedRule, getPackageImport, hasElementImport, hasImportedMember, hasMember, hasOwnedDiagram, hasOwnedMember, hasOwnedRule, hasPackageImportget_redefinableElementOfRedefinedElement, getRedefinedElement, getRedefinitionContext, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeafgetTemplateBinding, hasTemplateBinding, setOwnedTemplateSignaturegetClassifierBehavior, getInterfaceRealization, getOwnedBehavior, hasInterfaceRealization, hasOwnedBehavior, setClassifierBehaviorjava.util.Collection<Extension> getExtension()
Extension.
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.
UMLPackage.getClass_Extension(),
Extension.getMetaclass()boolean isActive()
"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.
setActive(boolean),
UMLPackage.getClass_Active()void setActive(boolean value)
Active' attribute.
value - the new value of the 'Active' attribute.isActive()java.util.List<Classifier> getNestedClassifier()
Classifier.
It is bidirectional and its opposite is 'UML Class'.
The Classifiers owned by the Class that are not ownedBehaviors.
UMLPackage.getClass_NestedClassifier(),
Classifier.getUMLClass()java.util.List<Operation> getOwnedOperation()
Operation.
It is bidirectional and its opposite is 'UML Class'.
The Operations owned by the Class.
UMLPackage.getClass_OwnedOperation(),
Operation.getUMLClass()java.util.Collection<Class> getSuperClass()
Class.
It is bidirectional and its opposite is 'class Of Super Class'.
The superclasses of a Class, derived from its Generalizations.
UMLPackage.getClass_SuperClass(),
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Class#get_classOfSuperClassjava.util.Collection<Reception> getOwnedReception()
Reception.
It is bidirectional and its opposite is 'class Of Owned Reception'.
The Receptions owned by the Class.
UMLPackage.getClass_OwnedReception(),
Reception.get_classOfOwnedReception()java.util.List<Property> getOwnedAttribute()
Property.
It is bidirectional and its opposite is 'UML Class'.
The attributes (i.e., the Properties) owned by the Class.
getOwnedAttribute in interface StructuredClassifierUMLPackage.getClass_OwnedAttribute(),
Property.getUMLClass()boolean isAbstract()
"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.
isAbstract in interface ClassifiersetAbstract(boolean),
UMLPackage.getClass_Abstract()void setAbstract(boolean value)
Abstract' attribute.
setAbstract in interface Classifiervalue - the new value of the 'Abstract' attribute.isAbstract()boolean hasExtension()
throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiExceptionboolean hasNestedClassifier()
throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiExceptionboolean hasOwnedOperation()
throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiExceptionboolean hasSuperClass()
throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiExceptionboolean hasOwnedReception()
throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException