public class OrganizationDescriptor extends AbstractSynchronizable implements GroupContext, ProcessFlowContext, AclContainerSecurable
Synchronizable.Syncable
Modifier and Type | Field and Description |
---|---|
static String |
OBJECT_TYPE
Represents the type name of an
Organization object. |
Constructor and Description |
---|
OrganizationDescriptor()
Deprecated.
As of Java API 1.7. Please use
OrganizationDescriptor(String, String, String, long, List) . |
OrganizationDescriptor(String name)
Deprecated.
As of Java API 1.7. Please use
OrganizationDescriptor(String, String, String, long, List) . |
OrganizationDescriptor(String identifier,
String path,
String name,
long revision,
List<Attribute> attributes)
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.
|
List<Attribute> |
getAttributes()
Return the attributes associated with this
Organization . |
String |
getIdentifier()
Get the identifier of this object.
|
String |
getName()
Returns the name of this
Organization . |
String |
getObjectType()
Get the object type of this item.
|
String |
getPath()
Returns the full path of this
Organization . |
long |
getRevision()
Returns the internal revision number of this
Organization . |
int |
hashCode()
Return a hash code value for the object.
|
void |
setAttributes(List<Attribute> attributes)
Set the attributes associated with this
Organization . |
void |
setIdentifier(String identifier)
Deprecated.
As of Java API 1.7. There is no replacement. Identifier is immutable.
|
void |
setName(String name)
Deprecated.
As of Java API 1.7. There is no replacement. Name is immutable.
|
void |
setObjectType(String objectType)
Deprecated.
As of Java API 1.7. There is no replacement. Object type is immutable.
|
void |
setPath(String path)
Deprecated.
As of Java API 1.7. There is no replacement. Path is immutable.
|
void |
setRevision(long revision)
Deprecated.
As of Java API 1.7. There is no replacement. Revision is immutable.
|
String |
toString()
Return a string representation of the object.
|
clone, getSyncable, setSyncable, toDisplayValue
addAttribute, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsLong, getAttributeAsLong, getAttributeAsString, removeAttribute, setAttribute
public static final String OBJECT_TYPE
Organization
object.@Deprecated public OrganizationDescriptor()
OrganizationDescriptor(String, String, String, long, List)
.@Deprecated public OrganizationDescriptor(String name)
OrganizationDescriptor(String, String, String, long, List)
.name
- The name of the new organizationDescriptor.public OrganizationDescriptor(String identifier, String path, String name, long revision, List<Attribute> attributes)
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.getOrganizationDescriptorByName(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
.public String getIdentifier()
Identifiable
getIdentifier
in interface Identifiable
getIdentifier
in class AbstractIdentifiable
public String getObjectType()
Identifiable
getObjectType
in interface Identifiable
getObjectType
in class AbstractIdentifiable
public String getName()
Organization
.getName
in interface Referenceable
getName
in class AbstractReferenceable
Organization
.public String getPath()
Organization
.getPath
in interface Referenceable
getPath
in class AbstractReferenceable
Organization
.public long getRevision()
Organization
.Organization
.public List<Attribute> getAttributes()
Organization
.getAttributes
in interface Attributable
getAttributes
in class AbstractAttributable
Organization
.public void setAttributes(List<Attribute> attributes)
Organization
.setAttributes
in interface Attributable
setAttributes
in class AbstractAttributable
attributes
- The attributes to associate with this Organization
.@Deprecated public void setName(String name)
setName
in interface Referenceable
setName
in class AbstractReferenceable
name
- the name to set@Deprecated public void setIdentifier(String identifier)
AbstractIdentifiable
setIdentifier
in class AbstractIdentifiable
identifier
- the identifier to set@Deprecated public void setPath(String path)
setPath
in interface Referenceable
setPath
in class AbstractReferenceable
path
- the path to set@Deprecated public void setObjectType(String objectType)
AbstractIdentifiable
setObjectType
in class AbstractIdentifiable
objectType
- the objectType to set@Deprecated public void setRevision(long revision)
revision
- The new internal revision number of this object.public int hashCode()
hashCode
in class AbstractSynchronizable
Object.hashCode()
public boolean equals(Object obj)
equals
in class AbstractSynchronizable
Object.equals(java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA