|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RepositoryObject
| Method Summary | |
|---|---|
void |
accept(RepositoryVisitor visitor)
|
int |
compareTo(java.lang.Object arg0)
|
java.lang.String |
getId()
|
java.lang.String |
getName()
|
java.util.Map |
getProperties()
|
java.lang.Object |
getProperty(java.lang.String propertyName)
|
java.util.Set |
getPropertyNames()
|
Repository |
getRepository()
|
int |
getType()
|
boolean |
hasProperty(java.lang.String propertyName)
|
void |
initialize(Repository rep,
java.lang.String objId,
java.lang.String name)
Initialize the object with the specified object ID and name. |
boolean |
isNull()
|
void |
setId(java.lang.String id)
Sets the ID on a newly-created repository object. |
java.lang.String |
setName(java.lang.String newName)
Sets the name of object. |
void |
setProperty(java.lang.String propertyName,
java.lang.Object propertyValue)
|
java.lang.String |
toString()
|
| Method Detail |
|---|
void initialize(Repository rep,
java.lang.String objId,
java.lang.String name)
throws ObjectMutationException
rep - objId - name -
ObjectMutationException - If object already has an assigned ID, indicating
that is has already been constructed.
void setId(java.lang.String id)
throws ObjectMutationException
id - Object ID (assigned by the owning repository)
ObjectMutationException - If object already has an assigned ID, indicating
that is has already been constructed.java.lang.String getName()
java.lang.String setName(java.lang.String newName)
newName - New name to set on the object.
java.lang.String getId()
Repository getRepository()
boolean hasProperty(java.lang.String propertyName)
propertyName -
java.lang.Object getProperty(java.lang.String propertyName)
propertyName - The name of the property to retrieve.
void setProperty(java.lang.String propertyName,
java.lang.Object propertyValue)
propertyName - value - objectint compareTo(java.lang.Object arg0)
java.lang.String toString()
toString in class java.lang.Objectint getType()
boolean isNull()
java.util.Set getPropertyNames()
void accept(RepositoryVisitor visitor)
throws java.lang.Throwable
java.lang.Throwablejava.util.Map getProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||