Class ServiceInstanceWorkflowPermissionXml
- java.lang.Object
-
- lumis.portal.structure.sync.model.serviceinstance.ServiceInstanceWorkflowPermissionXml
-
- All Implemented Interfaces:
ICustomEquivalence
public class ServiceInstanceWorkflowPermissionXml extends Object implements ICustomEquivalence
Service instance workflow permission for XML serialization.- 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
ServiceInstanceWorkflowPermissionXml.ServiceInstanceWorkflowPermissionXmlComparator
Comparator forServiceInstanceWorkflowPermissionXml
.
-
Constructor Summary
Constructors Constructor Description ServiceInstanceWorkflowPermissionXml()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getPrincipalId()
Returns the principal identifier.SortedSet<ServiceInstanceWorkflowPermissionRoleXml>
getRoles()
Returns the service instance workflow roles.boolean
isEquivalent(Object obj)
Returns whether this object is equivalent to the given object.void
setPrincipalId(String principalId)
Sets the principal identifier.
-
-
-
Method Detail
-
getPrincipalId
public String getPrincipalId()
Returns the principal identifier.- Returns:
- the principal identifier.
- Since:
- 7.0.0
-
setPrincipalId
public void setPrincipalId(String principalId)
Sets the principal identifier.- Parameters:
principalId
- the principal identifier.- Since:
- 7.0.0
-
getRoles
public SortedSet<ServiceInstanceWorkflowPermissionRoleXml> getRoles()
Returns the service instance workflow roles.- Returns:
- the service instance workflow roles.
- 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.
-
-