|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INamespaceObject
Represents any object that can exist in a namespace. INamespaceObjects have a QualifiedName, and an optional description. Because this interface extends Serializable, all implementations of INamespaceObject must be Serializable.
Method Summary | |
---|---|
boolean |
equals(Object obj)
Compare this object to the given object and determine if they are equal. |
String |
getDescription()
Return a description of this namespace object and its intended use. |
long |
getLastUpdateTime()
Get the timestamp when this object was last updated. |
String |
getName()
Return this object's name. |
INamespace |
getParentNamespace()
Get this namespace object's parent namespace. |
QualifiedName |
getQualifiedName()
Return a QualifiedName representing this namespace object's name and parent namespace. |
void |
setDescription(String description)
Set the description of this namespace object and its intended use. |
void |
setName(String name)
Set this object's name. |
void |
setParentNamespace(INamespace parent)
Set this namespace object's parent namespace. |
void |
syncLastUpdateTime()
Set the timestamp on this object to the timestamp on its persistent file. |
void |
touch()
Force the last update time to the current system time. |
Method Detail |
---|
boolean equals(Object obj)
equals
in class Object
QualifiedName getQualifiedName()
String getName()
void setName(String name) throws IllegalArgumentException
name
- The new name for this object. Null is not allowed.
IllegalArgumentException
- If the name param is null.String getDescription()
void setDescription(String description)
description
- A description of this namespace object and its
intended use, or null if no description is known.INamespace getParentNamespace()
void setParentNamespace(INamespace parent)
parent
- This namespace object's parent namespace. Setting this
parameter to null should be avoided, and indicates that the
namespace object has no parent.long getLastUpdateTime()
void syncLastUpdateTime()
void touch()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |