public abstract class AbstractAttribute extends Object implements IAttribute
UNBOUNDED| Constructor and Description |
|---|
AbstractAttribute(String name) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Return the attribute's name.
|
String |
getOriginalName()
Some attributes have to be renamed on loading.
|
IClassifier |
getOwner()
Return the classifier that owns the attribute.
|
IModelElement |
getType()
Return the type.
|
Object |
getUserData(String key)
Return user data stored on this attribute.
|
boolean |
isRepeating()
Returns true if the attribute can occur more than once, i.e.
|
void |
setName(String name)
Set the attribute name
|
void |
setOriginalName(String name) |
void |
setOwner(IClassifier owner) |
void |
setType(IModelElement type) |
void |
setUserData(String key,
Object data)
Set user data to be stored on this attribute.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDocumentation, getMaxOccurs, getMinOccurs, isStaticpublic AbstractAttribute(String name)
public String getName()
IAttributegetName in interface IAttributepublic String getOriginalName()
IAttribute
In all other cases, the method returns the same as IAttribute.getName().
getOriginalName in interface IAttributepublic IClassifier getOwner()
IAttributegetOwner in interface IAttributepublic IModelElement getType()
IAttributegetType in interface IAttributepublic Object getUserData(String key)
IAttributegetUserData in interface IAttributekey - the key under which the data is storedpublic boolean isRepeating()
IAttributeisRepeating in interface IAttributepublic void setName(String name)
IAttributesetName in interface IAttributename - the new namepublic void setOriginalName(String name)
public void setOwner(IClassifier owner)
public void setType(IModelElement type)
public void setUserData(String key, Object data)
IAttributesetUserData in interface IAttributekey - the key under which the data is storeddata - the dataCopyright © 2006-2013. All Rights Reserved.