public class Project extends ProjectDescriptor
Synchronizable.Syncable
OBJECT_TYPE
Constructor and Description |
---|
Project(String identifier,
String path,
String name,
long revision,
List<Attribute> attributes,
OrganizationDescriptor context,
State state,
String stateComment,
String lead)
Initializing constructor which sets the values of all variables.
|
Project(String identifier,
String name,
String path,
OrganizationDescriptor context,
State state,
String stateComment)
Deprecated.
As of Java API 1.7. Please use
Project(String, String, String, long, List, OrganizationDescriptor, State, String, String) . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Indicate whether some other object is "equal to" this one.
|
OrganizationDescriptor |
getContext()
Returns the parent organization of this
Project . |
String |
getLead()
Return the current lead of this
Project . |
State |
getState()
Returns the current state of this
Project . |
String |
getStateComment()
Returns the most recent state comment for this
Project . |
int |
hashCode()
Return a hash code value for the object.
|
void |
setLead(String lead)
Set the new lead of this
Project . |
String |
toString()
Return a string representation of the object.
|
getAttributes, getIdentifier, getName, getObjectType, getPath, getRevision, setAttributes, setRevision
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
@Deprecated public Project(String identifier, String name, String path, OrganizationDescriptor context, State state, String stateComment)
Project(String, String, String, long, List, OrganizationDescriptor, State, String, String)
.identifier
- name
- path
- context
- state
- stateComment
- public Project(String identifier, String path, String name, long revision, List<Attribute> attributes, OrganizationDescriptor context, State state, String stateComment, 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
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
.context
- The parent OrganizationDescriptor
context for this Project
.state
- The current State
of this Project
.stateComment
- The current comment (if one exists) associated with the last state change for this
Project
.lead
- The lead associated with this Project
.public String getStateComment()
Project
.Project
.public State getState()
Project
.Project
.public OrganizationDescriptor getContext()
Project
.Project
.public String getLead()
Project
.Project
.public void setLead(String lead)
Project
.lead
- The new lead of this Project
.ProjectService.updateProject(Project)
public int hashCode()
hashCode
in class ProjectDescriptor
Object.hashCode()
public boolean equals(Object obj)
equals
in class ProjectDescriptor
Object.equals(java.lang.Object)
public String toString()
toString
in class ProjectDescriptor
Object.toString()
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA