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

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

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

Constructor Detail

ServiceInstanceWorkflowPermissionRoleXml

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

equals

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

compareTo

public int compareTo(ServiceInstanceWorkflowPermissionRoleXml o)
Specified by:
compareTo in interface Comparable<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 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.