Class ServiceInstanceWorkflowPermissionRoleXml
- java.lang.Object
-
- lumis.portal.structure.sync.model.serviceinstance.ServiceInstanceWorkflowPermissionRoleXml
-
- All Implemented Interfaces:
Comparable<ServiceInstanceWorkflowPermissionRoleXml>
,ICustomEquivalence
public class ServiceInstanceWorkflowPermissionRoleXml extends Object implements Comparable<ServiceInstanceWorkflowPermissionRoleXml>, ICustomEquivalence
Service instance workflow permission role XML serialization object.- Since:
- 7.0.0
- Version:
- $Revision: 15055 $ $Date: 2012-11-29 18:48:37 -0200 (Thu, 29 Nov 2012) $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServiceInstanceWorkflowPermissionRoleXml.ServiceInstanceWorkflowPermissionRoleXmlComparator
Comparator forServiceInstanceWorkflowPermissionRoleXml
.static class
ServiceInstanceWorkflowPermissionRoleXml.Type
The permission type.
-
Constructor Summary
Constructors Constructor Description ServiceInstanceWorkflowPermissionRoleXml()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterXmlRead()
Commit
callback.void
beforeXmlWrite()
Persist
callback.int
compareTo(ServiceInstanceWorkflowPermissionRoleXml o)
boolean
equals(Object obj)
String
getRole()
Returns the role.ServiceInstanceWorkflowPermissionRoleXml.Type
getType()
Returns the type.boolean
isEquivalent(Object obj)
Returns whether this object is equivalent to the given object.void
setRole(String role)
Sets the role.void
setType(ServiceInstanceWorkflowPermissionRoleXml.Type type)
Sets the type.
-
-
-
Method Detail
-
getType
public ServiceInstanceWorkflowPermissionRoleXml.Type getType()
Returns the type.- Returns:
- the type.
- Since:
- 7.0.0
-
setType
public void setType(ServiceInstanceWorkflowPermissionRoleXml.Type type)
Sets the type.- Parameters:
type
- the type.- Since:
- 7.0.0
-
getRole
public String getRole()
Returns the role.- Returns:
- the role.
- Since:
- 7.0.0
-
setRole
public void setRole(String role)
Sets the role.- Parameters:
role
- the role.- Since:
- 7.0.0
-
compareTo
public int compareTo(ServiceInstanceWorkflowPermissionRoleXml o)
- Specified by:
compareTo
in interfaceComparable<ServiceInstanceWorkflowPermissionRoleXml>
-
afterXmlRead
public void afterXmlRead()
Commit
callback.- Since:
- 7.0.0
-
beforeXmlWrite
public void beforeXmlWrite()
Persist
callback.- Since:
- 7.0.0
-
isEquivalent
public boolean isEquivalent(Object obj)
Description copied from interface:ICustomEquivalence
Returns whether this object is equivalent to the given object. If the object is equivalent, it will not need to be updated during synchronization.- Specified by:
isEquivalent
in interfaceICustomEquivalence
- Parameters:
obj
- the object to compare with.- Returns:
- true if the objects are equivalent, false otherwise.
-
-