|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.accesscontrol.UserAttribute
@Deprecated public class UserAttribute
| Constructor Summary | |
|---|---|
UserAttribute(java.lang.String n)
Deprecated. The constructor that sets the name of the
UserAttribute. |
|
| Method Summary | |
|---|---|
void |
addAttribute(UserAttribute c)
Deprecated. Adds the given UserAttribute to the children of the
UserAttribute. |
void |
addValue(java.lang.String v)
Deprecated. Adds the given String to the Set of values of
the UserAttribute. |
int |
compareTo(UserAttribute ua)
Deprecated. Compares this UserAttribute to the given one, and returns
-1, 0, or 1 as this UserAttribute is less than, equal to, or
greater than the given one. |
org.jdom.Element |
deserializeToJDOM()
Deprecated. Serializes the state of the UserAttribute as a JDOM
Element. |
boolean |
equals(java.lang.Object o)
Deprecated. Determines whether the given Object is equal to the
UserAttribute. |
java.util.Set<UserAttribute> |
getAttributes()
Deprecated. Returns a shallow copy of the HashSet of children of the
UserAttribute. |
java.lang.String |
getName()
Deprecated. Returns the unique name of the UserAttribute. |
UserAttribute |
getParent()
Deprecated. Returns the parent of UserAttribute or null. |
java.util.Set<java.lang.String> |
getValues()
Deprecated. Returns a shallow copy of the HashSet of values of the
UserAttribute. |
int |
hashCode()
Deprecated. Returns a hashCode for the UserAttribute. |
void |
removeAttribute(UserAttribute c)
Deprecated. Removes the given UserAttribute from the children of the
UserAttributes. |
void |
removeValue(java.lang.String v)
Deprecated. Removes the given String from the Set of values
of the UserAttribute. |
void |
setName(java.lang.String n)
Deprecated. Sets the unique name of the UserAttribute. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserAttribute(java.lang.String n)
constructor that sets the name of the
UserAttribute.
n - the name to be set.| Method Detail |
|---|
public final java.lang.String getName()
UserAttribute.
getName in interface INamedUserAttribute.public final void setName(java.lang.String n)
UserAttribute.
The name must not be null.
setName in interface INameablen - the name to be set.public final UserAttribute getParent()
UserAttribute or null.
UserAttribute or null.public final java.util.Set<UserAttribute> getAttributes()
HashSet of children of the
UserAttribute.
HashSet of children of the
UserAttribute.public final void addAttribute(UserAttribute c)
UserAttribute to the children of the
UserAttribute.
c - the UserAttribute to be added.public final void removeAttribute(UserAttribute c)
UserAttribute from the children of the
UserAttributes.
c - the UserAttribute to be removed.public final java.util.Set<java.lang.String> getValues()
HashSet of values of the
UserAttribute.
HashSet of values of the
UserAttribute.public final void addValue(java.lang.String v)
String to the Set of values of
the UserAttribute.
v - the String to be added.public final void removeValue(java.lang.String v)
String from the Set of values
of the UserAttribute.
v - the String to be removed.public final int compareTo(UserAttribute ua)
UserAttribute to the given one, and returns
-1, 0, or 1 as this UserAttribute is less than, equal to, or
greater than the given one.
compareTo in interface java.lang.Comparable<UserAttribute>ua - the UserAttribute to be compared to this one.
UserAttribute is less than,
equal to, or greater than the given one.public final boolean equals(java.lang.Object o)
Object is equal to the
UserAttribute.
The two are equal if and only if the given Object is an
UserAttribute, and if the names of the two are equal.
equals in class java.lang.Objecto - the Object to be checked for equality with the
UserAttribute.
true if the given Object is equal to
the UserAttribute. Returns false
otherwise.public final int hashCode()
UserAttribute.
The returned hashCode is the hashCode obtained by calling the hashCode
method on the name String of the UserAttribute.
hashCode in class java.lang.ObjectUserAttribute.public final org.jdom.Element deserializeToJDOM()
UserAttribute as a JDOM
Element.
deserializeToJDOM in interface JDOMableUserAttribute as a JDOM
Element.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||