|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sas.hls.drug.project.ProjectDescriptor
com.sas.hls.drug.project.Project
public class Project
A data object that represents a SAS Drug Development project and contains all properties of a project defined within an organization in the system.
Field Summary |
---|
Fields inherited from class com.sas.hls.drug.project.ProjectDescriptor |
---|
OBJECT_TYPE |
Constructor Summary | |
---|---|
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) . |
Method Summary | |
---|---|
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. |
Methods inherited from class com.sas.hls.drug.project.ProjectDescriptor |
---|
getAttributes, getIdentifier, getName, getObjectType, getPath, getRevision, setAttributes, setRevision |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
@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
.Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |