|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sas.hls.organization.OrganizationDescriptor
com.sas.hls.organization.Organization
public class Organization
A data object that contains all attributes of an organization in the system.
Field Summary |
---|
Fields inherited from class com.sas.hls.organization.OrganizationDescriptor |
---|
OBJECT_TYPE |
Constructor Summary | |
---|---|
Organization()
Deprecated. As of Java API 1.7. Please use Organization(String, String, String, long, List, String) . |
|
Organization(String name)
Deprecated. As of Java API 1.7. Please use Organization(String, String, String, long, List, String) . |
|
Organization(String identifier,
String path,
String name,
long revision,
List<Attribute> attributes,
String lead)
Initializing constructor which sets the values of all variables. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Indicate whether some other object is "equal to" this one. |
String |
getLead()
Returns the current 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 |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
@Deprecated public Organization()
Organization(String, String, String, long, List, String)
.
@Deprecated public Organization(String name)
Organization(String, String, String, long, List, String)
.
name
- the name of the organizationpublic Organization(String identifier, String path, String name, long revision, List<Attribute> attributes, String lead)
It is not intended or recommended that the consumer of the API construct these objects. They should only be
retrieved from service calls such as OrganizationService.getOrganizationByName(String)
.
identifier
- The identifier of the Organization
.path
- The full path to the Organization
.name
- The name of the Organization
.revision
- The internal revision number for this Organization
.attributes
- The attributes associated with this Organization
.lead
- The lead associated with this Organization
.Method Detail |
---|
public String getLead()
Organization
.
Organization
.public void setLead(String lead)
Organization
.
lead
- The new lead of this Organization
.public int hashCode()
hashCode
in class OrganizationDescriptor
Object.hashCode()
public boolean equals(Object obj)
equals
in class OrganizationDescriptor
Object.equals(java.lang.Object)
public String toString()
toString
in class OrganizationDescriptor
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |