|
AROM-2_2_13 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface specializes the AMEntity
interface to indicate that
the entity is named. The name of the entity is an atomic property designated by
the NAME
class variable. Objects interested in name changes must
register with this NamedEntity
in order to receive name change
notifications.
A named entity is part of a name space that can be retreived via the
getNameSpace
method. That name space act as the container for this
entity.
Field Summary | |
static String |
NAME
The key used to designate the 'name' property. |
Method Summary | |
String |
getFQName()
Returns the fully qualified name of this entity. |
String |
getName()
Returns the name of this entity, or null if no name had been set to the entity. |
NameSpace |
getNameSpace()
Returns the name space in which this named entity belongs to. |
void |
setName(String name)
Sets the name of this entity. |
Methods inherited from interface arom.kr.model.AMEntity |
addEntityListener, delete, getContainer, getIdentifier, removeEntityListener, verify |
Methods inherited from interface arom.kr.model.DocumentableObject |
applyDocumentationModifier, cancelDocumentationModifier, documentationModifiers, getDocumentation, lookupDocumentationModifier |
Methods inherited from interface helix.util.beans.PropertySet |
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
Methods inherited from interface helix.util.beans.CompoundPropertySet |
addCompositionChangeListener, addCompositionChangeListener, addVetoableCompositionChangeListener, addVetoableCompositionChangeListener, removeCompositionChangeListener, removeCompositionChangeListener, removeVetoableCompositionChangeListener, removeVetoableCompositionChangeListener |
Field Detail |
public static final String NAME
Method Detail |
public void setName(String name) throws InvalidNameException
isValidName
method of the namespace this entity belongs to. If
the name is not valid, an InvalidNameException
is thrown.
name
- the name to be set to this entity.
InvalidNameException
- if the supplied name is invalid in the name
space of this entity.NameSpace.isValidName(String)
public String getName()
setName
method.
getFQName()
public String getFQName()
NameSpace
object which itself is a named entity.
The fully qualified name of the entity is the name that uniquely identify the
entity in the outermost containing
name space.
getName()
public NameSpace getNameSpace()
getNameSpace()
and getContainer()
both returns the
same entity.
NameSpace
,
AMEntity.getContainer()
|
AROM-2_2_13 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |