lumis.portal.structure.sync.model.serviceinstance
Class ServiceInstanceWorkflowPermissionXml

Package class diagram package ServiceInstanceWorkflowPermissionXml
java.lang.Object
  extended by 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

Nested Class Summary
static class ServiceInstanceWorkflowPermissionXml.ServiceInstanceWorkflowPermissionXmlComparator
          Comparator for ServiceInstanceWorkflowPermissionXml.
 
Constructor Summary
ServiceInstanceWorkflowPermissionXml()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceInstanceWorkflowPermissionXml

public ServiceInstanceWorkflowPermissionXml()
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

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

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 interface ICustomEquivalence
Parameters:
obj - the object to compare with.
Returns:
true if the objects are equivalent, false otherwise.


Lumisportal  7.0.0.121130 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.