|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gdata.data.AbstractExtension
com.google.gdata.data.ExtensionPoint
com.google.gdata.data.acl.AclWithKey
public class AclWithKey
Describes the key granting a role in an access control list.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint |
|---|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler |
| Constructor Summary | |
|---|---|
AclWithKey()
Default mutable constructor. |
|
AclWithKey(java.lang.String key,
AclRole role)
Immutable constructor. |
|
| Method Summary | |
|---|---|
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. |
java.lang.String |
getKey()
Returns the key granting a role. |
AclRole |
getRole()
Returns the role. |
boolean |
hasKey()
Returns whether it has a key. |
boolean |
hasRole()
Returns whether it has the role. |
void |
setKey(java.lang.String key)
Sets the key granting a role. |
void |
setRole(AclRole role)
Sets the role. |
java.lang.String |
toString()
|
| Methods inherited from class com.google.gdata.data.ExtensionPoint |
|---|
addExtension, addRepeatingExtension, generateCumulativeXmlBlob, getExtension, getExtensions, getHandler, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit |
| Methods inherited from class com.google.gdata.data.AbstractExtension |
|---|
disableStrictValidation, enableStrictValidation, generate, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AclWithKey()
public AclWithKey(java.lang.String key,
AclRole role)
key - a key granting a role.role - a role.| Method Detail |
|---|
public void declareExtensions(ExtensionProfile extProfile)
ExtensionPoint
declareExtensions in class ExtensionPointextProfile - the ExtensionProfile to initialize.public java.lang.String getKey()
public void setKey(java.lang.String key)
key - a key or null to resetpublic boolean hasKey()
public AclRole getRole()
public void setRole(AclRole role)
role - the role or null to resetpublic boolean hasRole()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||