public final class Permission extends AbstractDataTransferObject implements PermissionContract
PermissionContract
.
To construct an instance of a Permission, use the Permission.Builder
class.
PermissionContract
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
Permission.Builder
This builder constructs a Permission enforcing the constraints of the
PermissionContract . |
static class |
Permission.Cache |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getAttributes()
Attributes for a Permission.
|
String |
getDescription()
The description of the Permission.
|
String |
getId()
The unique identifier for an object.
|
String |
getName()
The name of the Permission.
|
String |
getNamespaceCode()
The namespace code that this Permission belongs too.
|
String |
getObjectId()
Return the globally unique object id of this object.
|
Template |
getTemplate()
The Template referenced by the Permission.
|
Long |
getVersionNumber()
Returns the version number for this object.
|
boolean |
isActive()
The active indicator for an object.
|
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
public String getId()
Identifiable
getId
in interface Identifiable
Identifiable.getId()
public String getNamespaceCode()
PermissionContract
getNamespaceCode
in interface PermissionContract
PermissionContract.getNamespaceCode()
public String getName()
PermissionContract
getName
in interface PermissionContract
PermissionContract.getName()
public String getDescription()
PermissionContract
getDescription
in interface PermissionContract
PermissionContract.getDescription()
public Template getTemplate()
PermissionContract
getTemplate
in interface PermissionContract
PermissionContract.getTemplate()
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
Inactivatable.isActive()
public Map<String,String> getAttributes()
PermissionContract
getAttributes
in interface PermissionContract
PermissionContract.getAttributes()
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
Versioned.getVersionNumber()
public String getObjectId()
GloballyUnique
getObjectId
in interface GloballyUnique
GloballyUnique.getObjectId()
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.