com.sas.hls.organization
Class OrganizationDescriptor

java.lang.Object
  extended by com.sas.hls.organization.OrganizationDescriptor
All Implemented Interfaces:
Identifiable, AclContainerSecurable, AclSecurable, GroupContext, MembershipContext, PrivilegeContext, RoleContext, Serializable, Cloneable
Direct Known Subclasses:
Organization

public class OrganizationDescriptor
extends Object
implements Cloneable, GroupContext, MembershipContext, RoleContext, AclContainerSecurable

A light-weight representation of a SAS Drug Development organization.

See Also:
Serialized Form

Field Summary
static String OBJECT_TYPE
          Represents the type name of an Organization object.
 
Constructor Summary
OrganizationDescriptor()
          Zero-argument constructor
OrganizationDescriptor(String name)
          OrganizationDescriptor constructor
 
Method Summary
 OrganizationDescriptor clone()
          Create and return a copy of this object.
 boolean equals(Object obj)
          Indicate whether some other object is "equal to" this one.
 List<Attribute> getAttributes()
           
 String getIdentifier()
          Get the identifier of this object.
 String getName()
           
 String getObjectType()
          Get the object type of this item.
 String getPath()
           
 long getRevision()
          Get the internal revision number of this object.
 int hashCode()
          Return a hash code value for the object.
 void setAttributes(List<Attribute> attributes)
           
 void setIdentifier(String identifier)
           
 void setName(String name)
           
 void setObjectType(String objectType)
           
 void setPath(String path)
           
 void setRevision(long revision)
          Set the internal revision number of this object.
 String toString()
          Return a string representation of the object.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

OBJECT_TYPE

public static final String OBJECT_TYPE
Represents the type name of an Organization object.

See Also:
Constant Field Values
Constructor Detail

OrganizationDescriptor

public OrganizationDescriptor()
Zero-argument constructor


OrganizationDescriptor

public OrganizationDescriptor(String name)
OrganizationDescriptor constructor

Parameters:
name - The name of the new organizationDescriptor.
Method Detail

getName

public String getName()
Returns:
the name

setName

public void setName(String name)
Parameters:
name - the name to set

getIdentifier

public String getIdentifier()
Description copied from interface: Identifiable
Get the identifier of this object.

Specified by:
getIdentifier in interface Identifiable
Returns:
the identifier

setIdentifier

public void setIdentifier(String identifier)
Parameters:
identifier - the identifier to set

getPath

public String getPath()
Returns:
the path

setPath

public void setPath(String path)
Parameters:
path - the path to set

getObjectType

public String getObjectType()
Description copied from interface: Identifiable
Get the object type of this item.

Specified by:
getObjectType in interface Identifiable
Returns:
the objectType

setObjectType

public void setObjectType(String objectType)
Parameters:
objectType - the objectType to set

getAttributes

public List<Attribute> getAttributes()
Returns:
the attributes

setAttributes

public void setAttributes(List<Attribute> attributes)
Parameters:
attributes - the attributes to set

getRevision

public long getRevision()
Get the internal revision number of this object.

Returns:
the internal revision number of this object.

setRevision

public void setRevision(long revision)
Set the internal revision number of this object.

Parameters:
revision - The new internal revision number of this object.

clone

public OrganizationDescriptor clone()
                             throws CloneNotSupportedException
Create and return a copy of this object.

Overrides:
clone in class Object
Throws:
CloneNotSupportedException
See Also:
Object.clone()

hashCode

public int hashCode()
Return a hash code value for the object.

Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object obj)
Indicate whether some other object is "equal to" this one.

Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

toString

public String toString()
Return a string representation of the object.

Overrides:
toString in class Object
See Also:
Object.toString()


Copyright (c) 2012, SAS Institute Inc., Cary, NC, USA