com.sas.hls.organization
Class Organization

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

public class Organization
extends OrganizationDescriptor

This class is a data object that contains all attributes of an organization in the system.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sas.hls.organization.OrganizationDescriptor
OBJECT_TYPE
 
Constructor Summary
Organization()
          Zero-arg constructor
Organization(String name)
          Constructor given the organization name.
 
Method Summary
 Organization clone()
          Create and return a copy of this object.
 boolean equals(Object obj)
          Indicate whether some other object is "equal to" this one.
 String getLead()
          Get the lead of this organization.
 int hashCode()
          Return a hash code value for the object.
 void setLead(String lead)
          Set the lead of this organization.
 String toString()
          Return a string representation of the object.
 
Methods inherited from class com.sas.hls.organization.OrganizationDescriptor
getAttributes, getIdentifier, getName, getObjectType, getPath, getRevision, setAttributes, setIdentifier, setName, setObjectType, setPath, setRevision
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Organization

public Organization()
Zero-arg constructor


Organization

public Organization(String name)
Constructor given the organization name.

Parameters:
name - the name of the organization
Method Detail

getLead

public String getLead()
Get the lead of this organization.

Returns:
the lead

setLead

public void setLead(String lead)
Set the lead of this organization.

Parameters:
lead - the lead of this object

clone

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

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

hashCode

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

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

equals

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

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

toString

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

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


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