|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--UML.Semantic.Foundation.Core.ModelElement
|
+--UML.Semantic.Foundation.Core.Namespace
|
+--UML.Semantic.Foundation.Core.GeneralizableElement
|
+--UML.Semantic.Foundation.Core.Classifier
A classifier is an element that describes behavioral and structural features; it comes in several specific forms, including class, data type, interface, and others that are defined in other metamodel packages.
In the metamodel a Classifier declares a
collection of Features, such as
Attributes, Methods, and
Operations. It has a name, which is unique in the
Namespace enclosing the Classifier.
Classifier is an abstract metaclass.
| Constructor Summary | |
Classifier()
Constructor. |
|
| Method Summary | |
void |
add(Attribute elem)
Adds an Attribute to the set of Attributes of this Classifier. |
void |
add(Operation elem)
Adds an Operation to the set of Operations of this Classifier. |
void |
add(Reference ref)
Adds an element reference to this element. |
java.util.Vector |
allAssociationEnd()
Gets the set of the association ends which this classifier is type of. |
java.util.Vector |
allAssociations()
Gets the set of identifiers of the Associations of the Classifier itself, including inherited ones. |
java.util.Vector |
allAttributes()
Gets all the Attributes of this Classifier, including the ones inherited from parent Classifiers. |
java.util.Vector |
allFeatures()
Gets all the Features of this Classifier, including the ones inherited from parent Classifiers. |
java.util.Vector |
allMethods()
Gets all the Methods of this Classifier, including the ones inherited from parent Classifiers. |
java.util.Vector |
allOperations()
Gets all the Operations of this Classifier, including the ones inherited from parent Classifiers. |
java.util.Vector |
allOppositeAssociationEnd()
Gets the set of AssociationEnds identifiers that are opposite to this Classifier, including inherited ones. |
boolean |
check()
Checks if well-formedness rules are respected in this model element. |
java.util.Vector |
getAssociationEnd()
Gets the set of identifiers of the AssociationEnds whose type is this Classifier. |
java.util.Vector |
getAssociations()
Gets the set of identifiers of the Associations of the Classifier itself. |
java.util.Vector |
getAttribute()
Gets the set of Attributes of this Classifier. |
Attribute |
getAttribute(int i)
Gets an Attribute identifier fromthe set of Attributes identifiers of this Classifier. |
int |
getAttributeCount()
Returns the number of class attributes. |
java.util.Vector |
getFeature()
Gets the set of identifiers of the Features of this Classifier. |
Feature |
getFeature(int index)
Gets the i-th Feature of this Classifier. |
void |
getInfo()
Gets info on Classifier. |
java.util.Vector |
getOperation()
Gets the set of Operations of this Classifier. |
Operation |
getOperation(int i)
Gets the i-th Operation in the set of Operations of this Classifier. |
int |
getOperationCount()
Returns the number of class operations. |
java.util.Vector |
getSpecification()
Gets the set of specifying classifiers. |
java.util.Vector |
inheritedAssociationEnd()
Gets the set of identifiers of the inherited AssociationEnds of this Classifier. |
java.util.Vector |
inheritedAssociations()
Gets the set of identifiers of the inherited Associations of the Classifier itself. |
java.util.Vector |
inheritedAttributes()
Gets all the inherited Attributes of this Classifier. |
java.util.Vector |
inheritedOperations()
Gets all the inherited Operations of this Classifier. |
java.util.Vector |
inheritedOppositeAssociationEnd()
Gets the set of inherited AssociationEnds identifiers that are opposite to this Classifier. |
java.util.Vector |
oppositeAssociationEnd()
Gets the set of AssociationEnds identifiers that are opposite to this Classifier. |
void |
setRealization(java.lang.String realization)
Adds a realizing classifier. |
void |
setSpecification(java.lang.String specification)
Adds a specifying classifier. |
| Methods inherited from class UML.Semantic.Foundation.Core.GeneralizableElement |
allOwnedElement, allSupertype, getGeneralization, getIsAbstract, getIsLeaf, getIsRoot, getSpecialization, getSupertype, inheritedOwnedElement, inheritedSupertype, setIsAbstract, setIsLeaf, setIsRoot |
| Methods inherited from class UML.Semantic.Foundation.Core.Namespace |
add, allContents, allContents, getOwnedElement, subContents |
| Methods inherited from class UML.Semantic.Foundation.Core.ModelElement |
add, getBindingList, getConstraintList, getElementType, getErrors, getHref, getId, getIdentification, getIdref, getIndex, getIsOwned, getLabel, getLocator, getName, getNamespace, getNamespaceId, getStereotype, getTemplate, getTemplateParameterList, getTitle, getUuid, getUuidref, getVisibility, getVisibilitySymbol, getWarnings, setElementType, setErrors, setHref, setId, setIdref, setIndex, setIsOwned, setLabel, setName, setNamespace, setTemplate, setTitle, setUuid, setUuidref, setVisibility, setWarnings |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Classifier()
| Method Detail |
public java.util.Vector getFeature()
public Feature getFeature(int index)
Featurepublic void add(Attribute elem)
public Attribute getAttribute(int i)
Attributepublic java.util.Vector getAttribute()
public void add(Operation elem)
public Operation getOperation(int i)
Operationpublic java.util.Vector getOperation()
public int getAttributeCount()
public int getOperationCount()
public java.util.Vector allFeatures()
public java.util.Vector allOperations()
public java.util.Vector inheritedOperations()
public java.util.Vector allMethods()
public java.util.Vector getAssociationEnd()
AssociationEndpublic java.util.Vector inheritedAssociationEnd()
public java.util.Vector allAssociationEnd()
public java.util.Vector oppositeAssociationEnd()
public java.util.Vector allOppositeAssociationEnd()
public java.util.Vector inheritedOppositeAssociationEnd()
public java.util.Vector getAssociations()
public java.util.Vector inheritedAssociations()
public java.util.Vector allAssociations()
public java.util.Vector allAttributes()
public java.util.Vector inheritedAttributes()
public void setRealization(java.lang.String realization)
public void setSpecification(java.lang.String specification)
public java.util.Vector getSpecification()
public void add(Reference ref)
add in class GeneralizableElementpublic boolean check()
check in class GeneralizableElementpublic void getInfo()
getInfo in class GeneralizableElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||