public class Classifier extends MetaClassifier
MetaClassifier
which can be typed.Constructor and Description |
---|
Classifier(Namespace namespace,
String localName)
Constructs a new
Classifier with the given namespace and localName . |
Modifier and Type | Method and Description |
---|---|
String |
getClassName()
Returns the name of the class of this classifier.
|
Identifier |
getId()
Returns the identifier of this classifier.
|
MetaClassifier |
getMetaClassifier()
Returns the metaclassifier of this classifier.
|
boolean |
isRoot()
Returns whether this classifier is the root element of a structure.
|
void |
setClassName(String className)
Defines the name of the class of this classifier.
|
void |
setId(Identifier id)
Defines the identifier of this classifier.
|
void |
setMetaClassifier(MetaClassifier metaClassifier)
Defines the metaclassifier of this classifier.
|
void |
setRoot(boolean root)
Defines whether this classifier is the root element of a structure.
|
getDefault, getNamespace, setNamespace, toString
getLocalName
public Identifier getId()
public void setId(Identifier id)
id
- the identifierpublic String getClassName()
public void setClassName(String className)
className
- the name of the classpublic MetaClassifier getMetaClassifier()
public void setMetaClassifier(MetaClassifier metaClassifier)
metaClassifier
- the metaclassifierpublic boolean isRoot()
true
if this classifier is a root elementpublic void setRoot(boolean root)
root
- true
if this classifier is a root elementCopyright © 2013–2017 Atlanmod INRIA LINA Mines Nantes. All rights reserved.