|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.ram.internal.jaxb.Authorization
public class Authorization
Set of users or user groups who have set roles with in the given state.
Java class for Authorization complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Authorization">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="user" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link" minOccurs="0"/>
<element name="userGroup" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link" minOccurs="0"/>
</sequence>
<attribute name="inherited" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected java.lang.Boolean |
inherited
|
protected Link<User> |
user
|
protected Link<UserGroup> |
userGroup
|
| Constructor Summary | |
|---|---|
Authorization()
|
|
| Method Summary | |
|---|---|
Authorization |
clone()
|
int |
compareTo(Authorization o)
|
boolean |
equals(java.lang.Object obj)
|
Link<User> |
getUser()
Gets the value of the user property. |
Link<UserGroup> |
getUserGroup()
Gets the value of the userGroup property. |
int |
hashCode()
|
boolean |
isInherited()
|
boolean |
isSetUser()
|
boolean |
isSetUserGroup()
|
boolean |
sameUserOrGroup(Authorization o)
Is this authorization for the same user or usergroup as the parameter. |
void |
setInherited(boolean value)
|
void |
setUser(Link<User> value)
Sets the value of the user property. |
void |
setUserGroup(Link<UserGroup> value)
Sets the value of the userGroup property. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Link<User> user
protected Link<UserGroup> userGroup
protected java.lang.Boolean inherited
| Constructor Detail |
|---|
public Authorization()
| Method Detail |
|---|
public Link<User> getUser()
Linkpublic void setUser(Link<User> value)
value - allowed object is
Linkpublic boolean isSetUser()
public Link<UserGroup> getUserGroup()
Linkpublic void setUserGroup(Link<UserGroup> value)
value - allowed object is
Linkpublic boolean isSetUserGroup()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isInherited()
public void setInherited(boolean value)
inherited - The inherited to set.
public Authorization clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int compareTo(Authorization o)
compareTo in interface java.lang.Comparable<Authorization>public boolean sameUserOrGroup(Authorization o)
o - the other Authorization.
true if same user or usergroup, false if not the same.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||