|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.xtreemos.xosd.localallocmgr.attributes.OwnersInfo
public class OwnersInfo
class dealing with the information about the owner, for now we only hold the info about the owners keys and names In the future, one can hold info about the certificates, etc... (intstead of the second String parameter in the hashtable).
Field Summary | |
---|---|
java.util.Hashtable<java.lang.String,java.lang.String> |
owners
|
Constructor Summary | |
---|---|
OwnersInfo()
|
|
OwnersInfo(java.lang.String owner,
java.lang.String fullName)
|
Method Summary | |
---|---|
boolean |
add(OwnersInfo info)
false means that some of the new owners already existed in the owner-list |
boolean |
add(java.lang.String newOwner,
java.lang.String fullName)
full name can be empty ("") but not null |
OwnersInfo |
clone()
|
boolean |
equals(java.lang.Object obj)
returns true if o holds subset of elements stored in this object |
boolean |
remove(OwnersInfo info)
false means that some of the names did not exist and therefore could not be removed from the owners list |
boolean |
remove(java.lang.String owner)
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.util.Hashtable<java.lang.String,java.lang.String> owners
Constructor Detail |
---|
public OwnersInfo(java.lang.String owner, java.lang.String fullName)
public OwnersInfo()
Method Detail |
---|
public boolean add(java.lang.String newOwner, java.lang.String fullName)
newOwner
- fullName
-
public boolean add(OwnersInfo info)
info
-
public boolean remove(java.lang.String owner)
public boolean remove(OwnersInfo info)
info
-
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
o
-
public OwnersInfo clone()
clone
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |