public abstract class RefEntityImpl extends UserDataHolderBase implements RefEntity, WritableRefEntity
Modifier and Type | Field and Description |
---|---|
protected java.util.List<RefEntity> |
myChildren |
protected long |
myFlags |
protected RefManagerImpl |
myManager |
EMPTY_ELEMENTS_ARRAY
Modifier | Constructor and Description |
---|---|
protected |
RefEntityImpl(java.lang.String name,
RefManager manager) |
Modifier and Type | Method and Description |
---|---|
void |
accept(RefVisitor refVisitor)
Accepts the specified visitor and passes self to one of its visit methods.
|
void |
add(RefEntity child) |
boolean |
checkFlag(long mask) |
java.util.List<RefEntity> |
getChildren()
Returns the list of children of the node.
|
java.lang.String |
getExternalName()
Returns a user-readable name for the element corresponding to the node.
|
java.lang.String |
getName()
Returns the name of the node.
|
WritableRefEntity |
getOwner()
Returns the parent of the node.
|
java.lang.String |
getQualifiedName() |
RefManagerImpl |
getRefManager()
Returns the reference graph manager for the node.
|
void |
removeChild(RefEntity child) |
void |
setFlag(boolean value,
long mask) |
void |
setOwner(WritableRefEntity owner) |
java.lang.String |
toString() |
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getUserData, putUserData
protected java.util.List<RefEntity> myChildren
protected long myFlags
protected final RefManagerImpl myManager
protected RefEntityImpl(java.lang.String name, RefManager manager)
public java.lang.String getName()
RefEntity
public java.lang.String getQualifiedName()
getQualifiedName
in interface RefEntity
public java.util.List<RefEntity> getChildren()
RefEntity
getChildren
in interface RefEntity
public WritableRefEntity getOwner()
RefEntity
public void setOwner(WritableRefEntity owner)
setOwner
in interface WritableRefEntity
public void add(RefEntity child)
add
in interface WritableRefEntity
public void removeChild(RefEntity child)
removeChild
in interface WritableRefEntity
public java.lang.String toString()
toString
in class java.lang.Object
public void accept(RefVisitor refVisitor)
RefEntity
public boolean checkFlag(long mask)
public void setFlag(boolean value, long mask)
public java.lang.String getExternalName()
RefEntity
getExternalName
in interface RefEntity
public RefManagerImpl getRefManager()
RefEntity
getRefManager
in interface RefEntity