Class ServiceInstanceWorkflowPermissionRoleXml
- java.lang.Object
-
- lumis.portal.structure.sync.model.serviceinstance.ServiceInstanceWorkflowPermissionRoleXml
-
- All Implemented Interfaces:
java.lang.Comparable<ServiceInstanceWorkflowPermissionRoleXml>
,ICustomEquivalence
public class ServiceInstanceWorkflowPermissionRoleXml extends java.lang.Object implements java.lang.Comparable<ServiceInstanceWorkflowPermissionRoleXml>, ICustomEquivalence
Service instance workflow permission role XML serialization object.- Since:
- 7.0.0
- Version:
- $Revision$ $Date$
-
-
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 int
compareTo(ServiceInstanceWorkflowPermissionRoleXml o)
boolean
equals(java.lang.Object obj)
java.lang.String
getRole()
Returns the role.ServiceInstanceWorkflowPermissionRoleXml.Type
getType()
Returns the type.boolean
isEquivalent(java.lang.Object obj)
Returns whether this object is equivalent to the given object.void
setRole(java.lang.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 java.lang.String getRole()
Returns the role.- Returns:
- the role.
- Since:
- 7.0.0
-
setRole
public void setRole(java.lang.String role)
Sets the role.- Parameters:
role
- the role.- Since:
- 7.0.0
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
compareTo
public int compareTo(ServiceInstanceWorkflowPermissionRoleXml o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<ServiceInstanceWorkflowPermissionRoleXml>
-
isEquivalent
public boolean isEquivalent(java.lang.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.
-
-