|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.novell.sentinel.client.bean.SentinelBean
com.novell.db.object.bean.UserGroupPermissionBean
public class UserGroupPermissionBean
An automatically-generated "bean" class for the Sentinel data object type 'group-perm
'.
The description of the type is:
"A UserGroupPermission object associates a Permission with a UserGroup and defines whether the UserGroup grants or denies the privilege associated with the Permission."
The Sentinel data object bean classes are designed to be used to transport data to and from the Sentinel server. There exists a supporting infrastructure that handles the serialization/parsing of the data to/from the JSON transport format and which handles the actual HTTP transport.
A more complete description of Sentinel data object beans is found in the description
of SentinelBean
.
SentinelBean
,
BeanTransporter
Nested Class Summary | |
---|---|
static class |
UserGroupPermissionBean.ValueType
An enumerated type representing values for the field ' value '. |
Field Summary | |
---|---|
static String |
PERM_NAME
The "bean name" of the Sentinel data object field 'PermName'. |
static String |
PERM_VALUE
The "bean name" of the Sentinel data object field 'Value'. |
static String |
PERMISSIONDEFINITION
The "bean name" of the Sentinel data object field 'PermissionDefinition'. |
Constructor Summary | |
---|---|
|
UserGroupPermissionBean()
Construct an instance of the bean class. |
protected |
UserGroupPermissionBean(BeanMetaData<? extends SentinelBean> metadata)
Constructor for use by derived classes. |
Method Summary | |
---|---|
void |
clearPermissionDefinitionLink()
Clear any current URL value for the ' def ' field in the bean. |
void |
clearPermName()
Clear any current value for the ' name ' field in the bean. |
void |
clearValue()
Clear any current value for the ' value ' field in the bean. |
UserGroupPermissionBean |
clone()
Create a duplicate of this bean instance, including all field values. |
static BeanMetaData<? extends UserGroupPermissionBean> |
getBeanMetaData()
Get the metadata class instance for this type. |
String |
getPermissionDefinitionLink()
Get the URL for the ' def ' field. |
String |
getPermName()
Get the value for the ' name ' field. |
UserGroupPermissionBean.ValueType |
getValue()
Get the value for the ' value ' field. |
boolean |
isPermissionDefinitionLinkClear()
Get whether the value for the ' def ' URL field is clear or not. |
boolean |
isPermissionDefinitionLinkNull()
Get whether the ' def ' URL field has been set to Null or not. |
boolean |
isPermNameClear()
Get whether the value for the ' name ' field is clear or not. |
boolean |
isPermNameNull()
Get whether the ' name ' field has been set to Null or not. |
boolean |
isValueClear()
Get whether the value for the ' value ' field is clear or not. |
boolean |
isValueNull()
Get whether the ' value ' field has been set to Null or not. |
void |
setPermissionDefinitionLink(String permissionDefinition)
Set a URL value for the ' def ' field. |
void |
setPermissionDefinitionLinkNull()
Set to Null any current URL value for the ' def ' field in the
bean. |
void |
setPermName(String permName)
Set the value for the ' name ' field. |
void |
setPermNameNull()
Set to Null any current value for the ' name ' field in the bean. |
void |
setValue(UserGroupPermissionBean.ValueType value)
Set the value for the ' value ' field. |
void |
setValueNull()
Set to Null any current value for the ' value ' field in the bean. |
Methods inherited from class com.novell.sentinel.client.bean.SentinelBean |
---|
clearField, cloneBean, equals, fields, getBeanName, getBeanValue, getField, getFieldNoNull, getLink, getMetaData, isFieldClear, isFieldNull, isLinkClear, setField, setFieldNull, toString, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String PERMISSIONDEFINITION
""def""
.
The description of the 'def
' field is:
"The URL of the Permission object that is associated with the UserGroup by the UserGroupPermission object."
public static final String PERM_VALUE
""value""
.
The description of the 'value
' field is:
"The value assigned to the UserGroup-Permission relationship. Currently only "true" and "false" are supported, and imply "GRANT" and "DENY", respectively."
public static final String PERM_NAME
""name""
.
The description of the 'name
' field is:
"The name of the Permission object associated with the UserGroup object."
Constructor Detail |
---|
public UserGroupPermissionBean()
protected UserGroupPermissionBean(BeanMetaData<? extends SentinelBean> metadata)
metadata
- The metadata instance for the derived bean class. Normally this constructor
will only be called by generated code.Method Detail |
---|
public String getPermName()
name
' field. The description of the 'name
'
field is:
"The name of the Permission object associated with the UserGroup object."
null
).PERM_NAME
public boolean isPermNameNull()
name
' field has been set to Null or not. The
description of the 'name
' field is:
"The name of the Permission object associated with the UserGroup object."
See the description of Null values.
true
if the field value has been marked as null, false
otherwise.setPermNameNull()
,
PERM_NAME
public boolean isPermNameClear()
name
' field is clear or not. The description
of the 'name
' field is:
"The name of the Permission object associated with the UserGroup object."
See the description of cleared values.
true
if the field value has been cleared, false
otherwise.clearPermName()
,
PERM_NAME
public void setPermName(String permName)
name
' field. The description of the 'name
'
field is:
"The name of the Permission object associated with the UserGroup object."
permName
- Value to setPERM_NAME
public void clearPermName()
name
' field in the bean. The description
of the 'name
' field is:
"The name of the Permission object associated with the UserGroup object."
Using this method will not clear the server value when the bean is PUT to
the server.
Use the setPermNameNull()
method to clear the server's value.
See the description of cleared values.
PERM_NAME
public void setPermNameNull()
name
' field in the bean.
The description of the 'name
' field is:
"The name of the Permission object associated with the UserGroup object."
Using this method will clear the server value when the bean is PUT to the
server.
Use the clearPermName()
method to avoid clearing the server's value.
See the description of Null values.
PERM_NAME
public UserGroupPermissionBean.ValueType getValue()
value
' field. The description of the 'value
'
field is:
"The value assigned to the UserGroup-Permission relationship. Currently only "true" and "false" are supported, and imply "GRANT" and "DENY", respectively."
null
).PERM_VALUE
public boolean isValueNull()
value
' field has been set to Null or not. The
description of the 'value
' field is:
"The value assigned to the UserGroup-Permission relationship. Currently only "true" and "false" are supported, and imply "GRANT" and "DENY", respectively."
See the description of Null values.
true
if the field value has been marked as null, false
otherwise.setValueNull()
,
PERM_VALUE
public boolean isValueClear()
value
' field is clear or not. The description
of the 'value
' field is:
"The value assigned to the UserGroup-Permission relationship. Currently only "true" and "false" are supported, and imply "GRANT" and "DENY", respectively."
See the description of cleared values.
true
if the field value has been cleared, false
otherwise.clearValue()
,
PERM_VALUE
public void setValue(UserGroupPermissionBean.ValueType value)
value
' field. The description of the 'value
'
field is:
"The value assigned to the UserGroup-Permission relationship. Currently only "true" and "false" are supported, and imply "GRANT" and "DENY", respectively."
value
- Value to setPERM_VALUE
public void clearValue()
value
' field in the bean. The description
of the 'value
' field is:
"The value assigned to the UserGroup-Permission relationship. Currently only "true" and "false" are supported, and imply "GRANT" and "DENY", respectively."
Using this method will not clear the server value when the bean is PUT to
the server.
Use the setValueNull()
method to clear the server's value.
See the description of cleared values.
PERM_VALUE
public void setValueNull()
value
' field in the bean.
The description of the 'value
' field is:
"The value assigned to the UserGroup-Permission relationship. Currently only "true" and "false" are supported, and imply "GRANT" and "DENY", respectively."
Using this method will clear the server value when the bean is PUT to the
server.
Use the clearValue()
method to avoid clearing the server's value.
See the description of Null values.
PERM_VALUE
public String getPermissionDefinitionLink()
def
' field. The description of the 'def
'
field is:
"The URL of the Permission object that is associated with the UserGroup by the UserGroupPermission object."
null
).PERMISSIONDEFINITION
public boolean isPermissionDefinitionLinkNull()
def
' URL field has been set to Null or not.
The description of the 'def
' field is:
"The URL of the Permission object that is associated with the UserGroup by the UserGroupPermission object."
See the description of Null values.
true
if the field value has been marked as null, false
otherwise.setPermissionDefinitionLinkNull()
,
PERMISSIONDEFINITION
public boolean isPermissionDefinitionLinkClear()
def
' URL field is clear or not. The description
of the 'def
' field is:
"The URL of the Permission object that is associated with the UserGroup by the UserGroupPermission object."
See the description of cleared values.
true
if the field value has been cleared, false
otherwise.clearPermissionDefinitionLink()
,
PERMISSIONDEFINITION
public void setPermissionDefinitionLink(String permissionDefinition)
def
' field. The description of the 'def
'
field is:
"The URL of the Permission object that is associated with the UserGroup by the UserGroupPermission object."
permissionDefinition
- Value to setPERMISSIONDEFINITION
public void clearPermissionDefinitionLink()
def
' field in the bean. The description
of the 'def
' field is:
"The URL of the Permission object that is associated with the UserGroup by the UserGroupPermission object."
Using this method will not clear the server value when the bean is PUT to
the server.
Use the setPermissionDefinitionLinkNull()
method to clear the server's value.
See the description of cleared values.
PERMISSIONDEFINITION
public void setPermissionDefinitionLinkNull()
def
' field in the
bean. The description of the 'def
' field is:
"The URL of the Permission object that is associated with the UserGroup by the UserGroupPermission object."
Using this method will clear the server value when the bean is PUT to the
server.
Use the clearPermissionDefinitionLink()
method to avoid clearing the server's
value.
See the description of Null values.
PERMISSIONDEFINITION
public static BeanMetaData<? extends UserGroupPermissionBean> getBeanMetaData()
The metadata is used primarily as a parameter to a BeanTransporter
implementation''s constructor.
public UserGroupPermissionBean clone()
clone
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |