public class ProjectDescriptor extends AbstractSynchronizable implements GroupContext, ProcessFlowContext, AclContainerSecurable
Synchronizable.Syncable
Modifier and Type | Field and Description |
---|---|
static String |
OBJECT_TYPE
Represents the type name of a
Project object. |
Constructor and Description |
---|
ProjectDescriptor(String identifier)
Deprecated.
As of Java API 1.7. Please use
ProjectDescriptor(String, String, String, long, List) . |
ProjectDescriptor(String identifier,
String name,
String path)
Deprecated.
As of Java API 1.7. Please use
ProjectDescriptor(String, String, String, long, List) . |
ProjectDescriptor(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()
Returns the attributes associated with this
Project . |
String |
getIdentifier()
Get the identifier of this object.
|
String |
getName()
Returns the name of this
Project . |
String |
getObjectType()
Get the object type of this item.
|
String |
getPath()
Returns the full path of this
Project . |
long |
getRevision()
Returns the internal revision number of this
Project . |
int |
hashCode()
Return a hash code value for the object.
|
void |
setAttributes(List<Attribute> attributes)
Set the attributes associated with this
Project . |
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
setName, setPath
setIdentifier, setObjectType
finalize, getClass, notify, notifyAll, wait, wait, wait
setName, setPath
public static final String OBJECT_TYPE
Project
object.@Deprecated public ProjectDescriptor(String identifier, String name, String path)
ProjectDescriptor(String, String, String, long, List)
.identifier
- name
- path
- @Deprecated public ProjectDescriptor(String identifier)
ProjectDescriptor(String, String, String, long, List)
.identifier
- public ProjectDescriptor(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
ProjectService.getProjectDescriptorByName(com.sas.hls.organization.OrganizationDescriptor, String)
.
identifier
- The identifier of the Project
.path
- The full path to the Project
.name
- The name of the Project
.revision
- The internal revision number for this Project
.attributes
- The attributes associated with this Project
.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()
Project
.getName
in interface Referenceable
getName
in class AbstractReferenceable
Project
.public String getPath()
Project
.getPath
in interface Referenceable
getPath
in class AbstractReferenceable
Project
.public long getRevision()
Project
.Project
.public List<Attribute> getAttributes()
Project
.getAttributes
in interface Attributable
getAttributes
in class AbstractAttributable
Project
.public void setAttributes(List<Attribute> attributes)
Project
.setAttributes
in interface Attributable
setAttributes
in class AbstractAttributable
attributes
- The attributes to associate with this Project
.@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