com.tibco.bpm.web.client.model.types
Class OrgModelEntity

java.lang.Object
  extended by com.tibco.bpm.web.client.model.types.OrgModelEntity
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class OrgModelEntity
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable

Details an Organisational Model entity as retrieved from Directory Engine.

Contains the name, guid and type of the entity along with details of the entities children and any mapped resources.

©2011 Cloud Software Group, Inc.

Since:
1.2.0

Constructor Summary
OrgModelEntity()
           
 
Method Summary
 boolean equals(java.lang.Object aThat)
           
 java.lang.String getCalendarRef()
          The calendar ref associated with the entity.
 java.util.ArrayList<OrgModelEntity> getChildren()
          A list of any immediate children.
 java.lang.String getEntityType()
          The type of the entity (i.e.
 java.lang.String getGuid()
          The GUID of the entity.
 java.lang.String getLabel()
          Label for the entity.
 java.util.ArrayList<OrgModelEntity> getMappedResources()
          A list of any resources mapped to the entity.
 java.lang.String getName()
          Name of the entity.
 int getVersion()
          Version of the entity
 int hashCode()
           
 void setCalendarRef(java.lang.String calendarRef)
          Set the calendar ref associated with the entity.
 void setChildren(java.util.ArrayList<OrgModelEntity> children)
          A list of any immediate children.
 void setEntityType(java.lang.String entityType)
          The type of the entity (i.e.
 void setGuid(java.lang.String guid)
          The GUID of the entity.
 void setLabel(java.lang.String label)
          Label for the entity.
 void setMappedResources(java.util.ArrayList<OrgModelEntity> mappedResources)
          A list of any resources mapped to the entity.
 void setName(java.lang.String name)
          Name of the entity.
 void setVersion(int version)
          Version of the entity
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrgModelEntity

public OrgModelEntity()
Method Detail

getCalendarRef

public java.lang.String getCalendarRef()
The calendar ref associated with the entity.


setCalendarRef

public void setCalendarRef(java.lang.String calendarRef)
Set the calendar ref associated with the entity.


getVersion

public int getVersion()
Version of the entity

Returns:
The Version of the entity

setVersion

public void setVersion(int version)
Version of the entity

Parameters:
version - Version of the entity to set

getName

public java.lang.String getName()
Name of the entity.

Returns:
Returns the name.

setLabel

public void setLabel(java.lang.String label)
Label for the entity.

Parameters:
label - The Label to set.

getLabel

public java.lang.String getLabel()
Label for the entity.

Returns:
Returns the label.

setName

public void setName(java.lang.String name)
Name of the entity.

Parameters:
name - The name to set.

getGuid

public java.lang.String getGuid()
The GUID of the entity.

Returns:
Returns the guid.

setGuid

public void setGuid(java.lang.String guid)
The GUID of the entity.

Parameters:
guid - The guid to set.

getEntityType

public java.lang.String getEntityType()
The type of the entity (i.e. RESOURCE, GROUP, POSITION ).

Returns:
Returns the entityType.

setEntityType

public void setEntityType(java.lang.String entityType)
The type of the entity (i.e. RESOURCE, GROUP, POSITION ).

Parameters:
entityType - The entityType to set.

getMappedResources

public java.util.ArrayList<OrgModelEntity> getMappedResources()
A list of any resources mapped to the entity.

Returns:
Returns the mappedResources.

setMappedResources

public void setMappedResources(java.util.ArrayList<OrgModelEntity> mappedResources)
A list of any resources mapped to the entity.

Parameters:
mappedResources - The mappedResources to set.

getChildren

public java.util.ArrayList<OrgModelEntity> getChildren()
A list of any immediate children.

Returns:
Returns the children.

setChildren

public void setChildren(java.util.ArrayList<OrgModelEntity> children)
A list of any immediate children.

Parameters:
children - The children to set.

equals

public boolean equals(java.lang.Object aThat)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2015 Cloud Software Group, Inc. All Rights Reserved.