Class ServiceInstanceWorkflowPermissionXml
- java.lang.Object
-
- lumis.portal.structure.sync.model.serviceinstance.ServiceInstanceWorkflowPermissionXml
-
- All Implemented Interfaces:
ICustomEquivalence
public class ServiceInstanceWorkflowPermissionXml extends java.lang.Object implements ICustomEquivalence
Service instance workflow permission for XML serialization.- Since:
- 7.0.0
- Version:
- $Revision$ $Date$
-
-
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(java.lang.Object obj)
java.lang.String
getPrincipalId()
Returns the principal identifier.java.util.SortedSet<ServiceInstanceWorkflowPermissionRoleXml>
getRoles()
Returns the service instance workflow roles.boolean
isEquivalent(java.lang.Object obj)
Returns whether this object is equivalent to the given object.void
setPrincipalId(java.lang.String principalId)
Sets the principal identifier.
-
-
-
Method Detail
-
getPrincipalId
public java.lang.String getPrincipalId()
Returns the principal identifier.- Returns:
- the principal identifier.
- Since:
- 7.0.0
-
setPrincipalId
public void setPrincipalId(java.lang.String principalId)
Sets the principal identifier.- Parameters:
principalId
- the principal identifier.- Since:
- 7.0.0
-
getRoles
public java.util.SortedSet<ServiceInstanceWorkflowPermissionRoleXml> getRoles()
Returns the service instance workflow roles.- Returns:
- the service instance workflow roles.
- Since:
- 7.0.0
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
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.
-
-