wt.inf.team
Class ContainerTeam

java.lang.Object
  extended bywt.fc.WTObject
      extended bywt.team.WTRoleHolder2
          extended bywt.inf.team.ContainerTeam
All Implemented Interfaces:
AccessControlled, AccessControlList, AdHocControlled, DisplayIdentification, DomainAdministered, Externalizable, Identified, NetFactor, Notifiable, ObjectMappable, Ownable, Persistable, RecentlyVisited, RoleHolder2, Serializable, WTContained, WTContainedIdentified

public class ContainerTeam
extends WTRoleHolder2
implements Notifiable, AdHocControlled, Ownable, DomainAdministered, WTContainedIdentified, Externalizable

Use the newContainerTeam static factory method(s), not the ContainerTeam constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
static String CONTAINER
          Label for the attribute.
private  WTContainerRef containerReference
           
private  String description
           
static String DESCRIPTION
          Label for the attribute.
private static int DESCRIPTION_UPPER_LIMIT
           
private  AdminDomainRef domainRef
           
private  boolean enabled
           
static String ENABLED
          Label for the attribute.
private  AclEntrySet entrySet
           
private  WTStringSet eventSet
           
static long EXTERNALIZATION_VERSION_UID
           
static String IMPLICIT_MEMBERS
          Label for the attribute.
static String IMPLICIT_MEMBERS_REFERENCE
          Label for the attribute.
private  WTPrincipalReference implicitMembersReference
           
private  boolean inheritedDomain
           
static String LEFTPAREN
           
private  String name
           
static String NAME
          Label for the attribute.
private static int NAME_UPPER_LIMIT
           
protected static long OLD_FORMAT_VERSION_UID
           
private  Ownership ownership
           
static String REFRESH_GROUPS
          Label for the attribute.
private  boolean refreshGroups
           
private static String RESOURCE
           
static String RIGHTPAREN
           
(package private) static long serialVersionUID
           
 
Fields inherited from class wt.team.WTRoleHolder2
CATEGORY
 
Fields inherited from class wt.fc.WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMP
 
Fields inherited from interface wt.notify.Notifiable
EVENT_SET
 
Fields inherited from interface wt.access.AdHocControlled
ENTRY_SET
 
Fields inherited from interface wt.fc.Persistable
IDENTITY, PERSIST_INFO, TYPE
 
Fields inherited from interface wt.ownership.Ownable
OWNERSHIP
 
Fields inherited from interface wt.admin.DomainAdministered
DOMAIN_REF, INHERITED_DOMAIN
 
Fields inherited from interface wt.inf.container.WTContainedIdentified
CONTAINER_REFERENCE
 
Fields inherited from interface wt.inf.container.WTContained
CONTAINER_ID, CONTAINER_NAME
 
Fields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE
 
Constructor Summary
ContainerTeam()
           
 
Method Summary
 void addPrincipal(Role role, WTPrincipal principal)
          Add a role to principal assignment to the holder If the WTPrincipal is not enabled, this action will be ignored.
private  void containerReferenceValidate(WTContainerRef a_ContainerReference)
           
 void deletePrincipalTarget(Role role, WTPrincipal principal)
          Remove a role to principal assignment pair

Supported API: false
 void deleteRole(Role role)
          Remove a role object from the RoleHolder

Supported API: false
private  void descriptionValidate(String a_Description)
           
 boolean equals(Object obj)
          Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifiers.
 HashMap getAllMembers()
          Answer a hashmap of WTPrincipalReference and the associated roles of all assignees in the RoleHolder.
 ArrayList getAllPrincipalsForTarget(Role role)
          Answer an ArrayList of enabled WTPrincipalReference of all assignees in the ContainerTeam.
 String getConceptualClassname()
          Deprecated.  
 WTContainer getContainer()
          Gets the object for the association that plays role: CONTAINER.
 String getContainerName()
          Gets the value of the attribute: CONTAINER_NAME.
 WTContainerRef getContainerReference()
          Gets the value of the attribute: CONTAINER_REFERENCE.
 String getDescription()
          Gets the value of the attribute: DESCRIPTION.
 AdminDomainRef getDomainRef()
          Gets the object for the association that plays role: DOMAIN_REF.
 AclEntrySet getEntrySet()
          Gets the value of the attribute: ENTRY_SET.
 WTStringSet getEventSet()
          Gets the value of the attribute: EVENT_SET.
 IdentificationObject getIdentificationObject()
          Constructs and returns an identification object.
 String getIdentity()
          Gets the value of the attribute: IDENTITY.
 WTGroup getImplicitMembers()
          Gets the object for the association that plays role: IMPLICIT_MEMBERS.
 WTPrincipalReference getImplicitMembersReference()
          Gets the value of the attribute: IMPLICIT_MEMBERS_REFERENCE.
protected  String getKey()
           
 String getName()
          Gets the value of the attribute: NAME.
 Ownership getOwnership()
          Gets the object for the association that plays role: OWNERSHIP.
 Vector getRoles()
          Answer an enumeration of roles in the rolePrincipalMap

Supported API: true
 int hashCode()
          Returns a hash code for this object based upon its ObjectIdentifier.
private  void implicitMembersReferenceValidate(WTPrincipalReference a_ImplicitMembersReference)
           
protected  void initialize()
          Initializes objects created by new-factory methods.
 boolean isEnabled()
          Gets the value of the attribute: ENABLED.
 boolean isInheritedDomain()
          Gets the value of the attribute: INHERITED_DOMAIN.
 boolean isRefreshGroups()
          Gets the value of the attribute: REFRESH_GROUPS.
private  void nameValidate(String a_Name)
           
static ContainerTeam newContainerTeam()
          Default factory for the class.
 void readExternal(ObjectInput input)
          Reads the non-transient fields of this class from an external source.
 void readExternal(PersistentRetrieveIfc input)
          Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store.
private  boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source, which is not the current version.
protected  boolean readVersion(ContainerTeam thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void setContainer(WTContainer a_Container)
          Sets the object for the association that plays role: CONTAINER.
 void setContainerReference(WTContainerRef a_ContainerReference)
          Sets the value of the attribute: CONTAINER_REFERENCE.
 void setContainerTeamIdentity(String name)
          Set the identity of the Container Team.
 ContainerTeam setContainerTeamLocation(String folder)
          Set the location of the Container Team.
 void setDescription(String a_Description)
          Sets the value of the attribute: DESCRIPTION.
 void setDomainRef(AdminDomainRef a_DomainRef)
          Sets the object for the association that plays role: DOMAIN_REF.
 void setEnabled(boolean a_Enabled)
          Sets the value of the attribute: ENABLED.
 void setEntrySet(AclEntrySet a_EntrySet)
          Sets the value of the attribute: ENTRY_SET.
 void setEventSet(WTStringSet a_EventSet)
          Sets the value of the attribute: EVENT_SET.
 void setImplicitMembers(WTGroup a_ImplicitMembers)
          Sets the object for the association that plays role: IMPLICIT_MEMBERS.
 void setImplicitMembersReference(WTPrincipalReference a_ImplicitMembersReference)
          Sets the value of the attribute: IMPLICIT_MEMBERS_REFERENCE.
 void setInheritedDomain(boolean a_InheritedDomain)
          Sets the value of the attribute: INHERITED_DOMAIN.
 void setName(String a_Name)
          Sets the value of the attribute: NAME.
 void setOwnership(Ownership a_Ownership)
          Sets the object for the association that plays role: OWNERSHIP.
 void setRefreshGroups(boolean a_RefreshGroups)
          Sets the value of the attribute: REFRESH_GROUPS.
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 void writeExternal(PersistentStoreIfc output)
          Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store.
 
Methods inherited from class wt.team.WTRoleHolder2
addPool, deletePoolTarget, getCategory, getMembers, getPoolTarget, getPrincipalTarget, getReadOnlyRolePrincipalMap, getRolePrincipalMap, readVersion, setCategory, setRolePrincipalMap
 
Methods inherited from class wt.fc.WTObject
checkAttributes, duplicate, finalize, getClassInfo, getCreateTimestamp, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getModifyTimestamp, getPersistInfo, getType, readVersion, setPersistInfo, toString
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface wt.fc.NetFactor
getClassInfo
 
Methods inherited from interface wt.fc.Persistable
checkAttributes, getPersistInfo, getType, setPersistInfo
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

NAME

public static final String NAME
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

NAME_UPPER_LIMIT

private static int NAME_UPPER_LIMIT

name

private String name

DESCRIPTION

public static final String DESCRIPTION
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

DESCRIPTION_UPPER_LIMIT

private static int DESCRIPTION_UPPER_LIMIT

description

private String description

ENABLED

public static final String ENABLED
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

enabled

private boolean enabled

REFRESH_GROUPS

public static final String REFRESH_GROUPS
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

refreshGroups

private boolean refreshGroups

IMPLICIT_MEMBERS

public static final String IMPLICIT_MEMBERS
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

IMPLICIT_MEMBERS_REFERENCE

public static final String IMPLICIT_MEMBERS_REFERENCE
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

implicitMembersReference

private WTPrincipalReference implicitMembersReference

eventSet

private WTStringSet eventSet

entrySet

private AclEntrySet entrySet

ownership

private Ownership ownership

inheritedDomain

private boolean inheritedDomain

domainRef

private AdminDomainRef domainRef

CONTAINER

public static final String CONTAINER
Label for the attribute.

Supported API: false

See Also:
Constant Field Values

containerReference

private WTContainerRef containerReference

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

EXTERNALIZATION_VERSION_UID

public static final long EXTERNALIZATION_VERSION_UID
See Also:
Constant Field Values

OLD_FORMAT_VERSION_UID

protected static final long OLD_FORMAT_VERSION_UID
See Also:
Constant Field Values

LEFTPAREN

public static final String LEFTPAREN
See Also:
Constant Field Values

RIGHTPAREN

public static final String RIGHTPAREN
See Also:
Constant Field Values
Constructor Detail

ContainerTeam

public ContainerTeam()
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Writes the non-transient fields of this class to an external source.

Supported API: false

Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class WTRoleHolder2
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class WTRoleHolder2
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(ContainerTeam thisObject,
                              ObjectInput input,
                              long readSerialVersionUID,
                              boolean passThrough,
                              boolean superDone)
                       throws IOException,
                              ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Parameters:
thisObject -
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

readOldVersion

private boolean readOldVersion(ObjectInput input,
                               long readSerialVersionUID,
                               boolean passThrough,
                               boolean superDone)
                        throws IOException,
                               ClassNotFoundException
Reads the non-transient fields of this class from an external source, which is not the current version.

Parameters:
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(PersistentStoreIfc output)
                   throws SQLException,
                          DatastoreException
Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store.

(Not intended for general use.)

Supported API: false

Specified by:
writeExternal in interface ObjectMappable
Overrides:
writeExternal in class WTRoleHolder2
Parameters:
output -
Throws:
SQLException
DatastoreException

readExternal

public void readExternal(PersistentRetrieveIfc input)
                  throws SQLException,
                         DatastoreException
Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store.

(Not intended for general use.)

Supported API: false

Specified by:
readExternal in interface ObjectMappable
Overrides:
readExternal in class WTRoleHolder2
Parameters:
input -
Throws:
SQLException
DatastoreException

getConceptualClassname

public String getConceptualClassname()
Deprecated.  

Returns the conceptual (modeled) name for the class.

Supported API: false

Specified by:
getConceptualClassname in interface NetFactor
Returns:
String

getName

public String getName()
Gets the value of the attribute: NAME.

Supported API: false

Returns:
String

setName

public void setName(String a_Name)
             throws WTPropertyVetoException
Sets the value of the attribute: NAME.

Supported API: false

Parameters:
a_Name -
Throws:
WTPropertyVetoException

nameValidate

private void nameValidate(String a_Name)
                   throws WTPropertyVetoException
Parameters:
a_Name -
Throws:
WTPropertyVetoException

getDescription

public String getDescription()
Gets the value of the attribute: DESCRIPTION.

Supported API: false

Returns:
String

setDescription

public void setDescription(String a_Description)
                    throws WTPropertyVetoException
Sets the value of the attribute: DESCRIPTION.

Supported API: false

Parameters:
a_Description -
Throws:
WTPropertyVetoException

descriptionValidate

private void descriptionValidate(String a_Description)
                          throws WTPropertyVetoException
Parameters:
a_Description -
Throws:
WTPropertyVetoException

isEnabled

public boolean isEnabled()
Gets the value of the attribute: ENABLED.

Supported API: false

Returns:
boolean

setEnabled

public void setEnabled(boolean a_Enabled)
                throws WTPropertyVetoException
Sets the value of the attribute: ENABLED.

Supported API: false

Parameters:
a_Enabled -
Throws:
WTPropertyVetoException

isRefreshGroups

public boolean isRefreshGroups()
Gets the value of the attribute: REFRESH_GROUPS.

Supported API: false

Returns:
boolean

setRefreshGroups

public void setRefreshGroups(boolean a_RefreshGroups)
                      throws WTPropertyVetoException
Sets the value of the attribute: REFRESH_GROUPS.

Supported API: false

Parameters:
a_RefreshGroups -
Throws:
WTPropertyVetoException

getImplicitMembers

public WTGroup getImplicitMembers()
Gets the object for the association that plays role: IMPLICIT_MEMBERS.

Supported API: true

Returns:
WTGroup

setImplicitMembers

public void setImplicitMembers(WTGroup a_ImplicitMembers)
                        throws WTPropertyVetoException,
                               WTException
Sets the object for the association that plays role: IMPLICIT_MEMBERS.

Supported API: true

Parameters:
a_ImplicitMembers -
Throws:
WTPropertyVetoException
WTException

getImplicitMembersReference

public WTPrincipalReference getImplicitMembersReference()
Gets the value of the attribute: IMPLICIT_MEMBERS_REFERENCE.

Supported API: true

Returns:
WTPrincipalReference

setImplicitMembersReference

public void setImplicitMembersReference(WTPrincipalReference a_ImplicitMembersReference)
                                 throws WTPropertyVetoException
Sets the value of the attribute: IMPLICIT_MEMBERS_REFERENCE.

Supported API: true

Parameters:
a_ImplicitMembersReference -
Throws:
WTPropertyVetoException

implicitMembersReferenceValidate

private void implicitMembersReferenceValidate(WTPrincipalReference a_ImplicitMembersReference)
                                       throws WTPropertyVetoException
Parameters:
a_ImplicitMembersReference -
Throws:
WTPropertyVetoException

setContainerTeamIdentity

public void setContainerTeamIdentity(String name)
                              throws WTException
Set the identity of the Container Team.

Supported API: false

Parameters:
name -
Throws:
WTException

setContainerTeamLocation

public ContainerTeam setContainerTeamLocation(String folder)
                                       throws WTException
Set the location of the Container Team.

Supported API: false

Parameters:
folder -
Returns:
ContainerTeam
Throws:
WTException

addPrincipal

public void addPrincipal(Role role,
                         WTPrincipal principal)
                  throws WTException
Add a role to principal assignment to the holder If the WTPrincipal is not enabled, this action will be ignored.

Supported API: false

Specified by:
addPrincipal in interface RoleHolder2
Overrides:
addPrincipal in class WTRoleHolder2
Parameters:
role - the Role object to add WTPrincipals to
principal - the WTPrincipal object to be added to the Role
Throws:
WTException

deletePrincipalTarget

public void deletePrincipalTarget(Role role,
                                  WTPrincipal principal)
                           throws WTException
Remove a role to principal assignment pair

Supported API: false

Specified by:
deletePrincipalTarget in interface RoleHolder2
Overrides:
deletePrincipalTarget in class WTRoleHolder2
Parameters:
role - the Role object used as search criteria in the removal of the WTPrincipal
principal - the WTPrincipal object to be removed
Throws:
WTException

deleteRole

public void deleteRole(Role role)
                throws WTException
Remove a role object from the RoleHolder

Supported API: false

Specified by:
deleteRole in interface RoleHolder2
Overrides:
deleteRole in class WTRoleHolder2
Parameters:
role - the Role object to be removed
Throws:
WTException

getRoles

public Vector getRoles()
                throws WTException
Answer an enumeration of roles in the rolePrincipalMap

Supported API: true

Specified by:
getRoles in interface RoleHolder2
Overrides:
getRoles in class WTRoleHolder2
Returns:
Vector
Throws:
WTException

getAllPrincipalsForTarget

public ArrayList getAllPrincipalsForTarget(Role role)
                                    throws WTException
Answer an ArrayList of enabled WTPrincipalReference of all assignees in the ContainerTeam. This method returns disabled users.

Supported API: true

Parameters:
role - The role to find associated participants.
Returns:
ArrayList
Throws:
WTException

getAllMembers

public HashMap getAllMembers()
                      throws WTException
Answer a hashmap of WTPrincipalReference and the associated roles of all assignees in the RoleHolder. The hashmap keys are the principal references for the team members. The roles the member participates in is stored as an array list as the value for the key.

Supported API: true

Returns:
HashMap
Throws:
WTException

newContainerTeam

public static ContainerTeam newContainerTeam()
                                      throws WTException
Default factory for the class.

Supported API: false

Returns:
ContainerTeam
Throws:
WTException

getEventSet

public WTStringSet getEventSet()
Gets the value of the attribute: EVENT_SET. Sets of events for which the object has a subscriber.

Supported API: false

Specified by:
getEventSet in interface Notifiable
Returns:
WTStringSet

setEventSet

public void setEventSet(WTStringSet a_EventSet)
Sets the value of the attribute: EVENT_SET. Sets of events for which the object has a subscriber.

Supported API: false

Specified by:
setEventSet in interface Notifiable
Parameters:
a_EventSet -

getEntrySet

public AclEntrySet getEntrySet()
Gets the value of the attribute: ENTRY_SET.

Supported API: false

Specified by:
getEntrySet in interface AdHocControlled
Returns:
AclEntrySet

setEntrySet

public void setEntrySet(AclEntrySet a_EntrySet)
Sets the value of the attribute: ENTRY_SET.

Supported API: false

Specified by:
setEntrySet in interface AdHocControlled
Parameters:
a_EntrySet -

getOwnership

public Ownership getOwnership()
Gets the object for the association that plays role: OWNERSHIP. The persistent state for an Ownable object is maintained via the Ownership object. Access to information for the Ownership object should be done via methods on the OwnershipHelper.

Supported API: false

Specified by:
getOwnership in interface Ownable
Returns:
Ownership

setOwnership

public void setOwnership(Ownership a_Ownership)
Sets the object for the association that plays role: OWNERSHIP. The persistent state for an Ownable object is maintained via the Ownership object. Access to information for the Ownership object should be done via methods on the OwnershipHelper.

Supported API: false

Specified by:
setOwnership in interface Ownable
Parameters:
a_Ownership -

isInheritedDomain

public boolean isInheritedDomain()
Gets the value of the attribute: INHERITED_DOMAIN. A boolean indicating whether the administrative domain is inherited. If the value is true, the domain is inherited from a parent object.

Supported API: false

Specified by:
isInheritedDomain in interface DomainAdministered
Returns:
boolean

setInheritedDomain

public void setInheritedDomain(boolean a_InheritedDomain)
                        throws WTPropertyVetoException
Sets the value of the attribute: INHERITED_DOMAIN. A boolean indicating whether the administrative domain is inherited. If the value is true, the domain is inherited from a parent object.

Supported API: false

Specified by:
setInheritedDomain in interface DomainAdministered
Parameters:
a_InheritedDomain -
Throws:
WTPropertyVetoException

getDomainRef

public AdminDomainRef getDomainRef()
Gets the object for the association that plays role: DOMAIN_REF.

Supported API: false

Specified by:
getDomainRef in interface DomainAdministered
Returns:
AdminDomainRef

setDomainRef

public void setDomainRef(AdminDomainRef a_DomainRef)
Sets the object for the association that plays role: DOMAIN_REF.

Supported API: false

Specified by:
setDomainRef in interface DomainAdministered
Parameters:
a_DomainRef -

getContainer

public WTContainer getContainer()
Gets the object for the association that plays role: CONTAINER.

Supported API: false

Specified by:
getContainer in interface WTContainedIdentified
Returns:
WTContainer

setContainer

public void setContainer(WTContainer a_Container)
                  throws WTPropertyVetoException,
                         WTException
Sets the object for the association that plays role: CONTAINER.

Supported API: false

Specified by:
setContainer in interface WTContainedIdentified
Parameters:
a_Container -
Throws:
WTPropertyVetoException
WTException

getContainerReference

public WTContainerRef getContainerReference()
Gets the value of the attribute: CONTAINER_REFERENCE.

Supported API: false

Specified by:
getContainerReference in interface WTContainedIdentified
Returns:
WTContainerRef

setContainerReference

public void setContainerReference(WTContainerRef a_ContainerReference)
                           throws WTPropertyVetoException
Sets the value of the attribute: CONTAINER_REFERENCE.

Supported API: false

Specified by:
setContainerReference in interface WTContainedIdentified
Parameters:
a_ContainerReference -
Throws:
WTPropertyVetoException

containerReferenceValidate

private void containerReferenceValidate(WTContainerRef a_ContainerReference)
                                 throws WTPropertyVetoException
Parameters:
a_ContainerReference -
Throws:
WTPropertyVetoException

getContainerName

public String getContainerName()
Gets the value of the attribute: CONTAINER_NAME. The name of the WTContainer this object is assigned to.

Supported API: false

Specified by:
getContainerName in interface WTContained
Returns:
String

getIdentificationObject

public IdentificationObject getIdentificationObject()
                                             throws WTException
Constructs and returns an identification object. This method is the only way to obtain an identification object.

Supported API: true

Specified by:
getIdentificationObject in interface Identified
Returns:
IdentificationObject
Throws:
WTException

equals

public boolean equals(Object obj)
Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifiers. Changed or stale copies are still considered equal by this method. Delegates to PersistenceHelper.equals(Persistable,Object).

Warning: Certain core Windchill operations may depend upon equals being ObjectIdentifier-based. Changes to the default implementation should be done with care, if at all.

Supported API: false

Overrides:
equals in class WTRoleHolder2
Parameters:
obj -
Returns:
boolean

hashCode

public int hashCode()
Returns a hash code for this object based upon its ObjectIdentifier. Delegates to PersistenceHelper.hashCode(Persistable).

Warning: Certain core Windchill operations may depend upon hashCode being ObjectIdentifier-based. Changes to the default implementation should be done with care, if at all.

Supported API: false

Overrides:
hashCode in class WTRoleHolder2
Returns:
int

initialize

protected void initialize()
                   throws WTException
Description copied from class: WTObject
Initializes objects created by new-factory methods.

Supported API: false

Overrides:
initialize in class WTObject
Throws:
WTException

getKey

protected String getKey()

getIdentity

public String getIdentity()
Description copied from interface: Persistable
Gets the value of the attribute: IDENTITY. Supplies the identity of the object for business purposes. The identity is composed of name, number or possibly other attributes. The identity does not include the type of the object.

Supported API: false

Specified by:
getIdentity in interface Persistable
Overrides:
getIdentity in class WTObject
Returns:
String