public class Organization extends OrganizationDescriptor
Synchronizable.Syncable
OBJECT_TYPE
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getAttributes, getIdentifier, getName, getObjectType, getPath, getRevision, setAttributes, setIdentifier, setName, setObjectType, setPath, setRevision
clone, getSyncable, setSyncable, toDisplayValue
addAttribute, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsLong, getAttributeAsLong, getAttributeAsString, removeAttribute, setAttribute
@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
.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()
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA