com.sas.hls.drug.project
Class Project

java.lang.Object
  extended by com.sas.hls.drug.project.ProjectDescriptor
      extended by com.sas.hls.drug.project.Project
All Implemented Interfaces:
Identifiable, AclContainerSecurable, AclSecurable, GroupContext, MembershipContext, PrivilegeContext, RoleContext, Serializable, Cloneable

public class Project
extends ProjectDescriptor

A data object that represents a SAS Drug Development project and contains all properties of a project defined within an organization in the system.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sas.hls.drug.project.ProjectDescriptor
OBJECT_TYPE
 
Constructor Summary
Project()
          Deprecated. 
Project(String identifier, String name, String path, OrganizationDescriptor context, State state, String stateComment)
          Constructor
 
Method Summary
 Project clone()
          Create and return a copy of this object.
 boolean equals(Object obj)
          Indicate whether some other object is "equal to" this one.
 OrganizationDescriptor getContext()
          Get the parent organization of the project.
 String getLead()
          Get the lead of the project.
 State getState()
          Get the state of the project.
 String getStateComment()
          Get the most recent state comment for the project.
 int hashCode()
          Return a hash code value for the object.
 void setContext(OrganizationDescriptor context)
          Deprecated. 
 void setLead(String lead)
          Set the lead of the project.
 void setState(State state)
          Deprecated. 
 void setStateComment(String stateComment)
          Deprecated. 
 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, setIdentifier, setName, setObjectType, setPath, setRevision
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Project

@Deprecated
public Project()
Deprecated. 

Zero-arg constructor.


Project

public Project(String identifier,
               String name,
               String path,
               OrganizationDescriptor context,
               State state,
               String stateComment)
Constructor

Parameters:
identifier -
name -
path -
context -
state -
stateComment -
Method Detail

getStateComment

public String getStateComment()
Get the most recent state comment for the project.

Returns:
the stateComment

setStateComment

@Deprecated
public void setStateComment(String stateComment)
Deprecated. 

Set the state comment for the project.

Parameters:
stateComment - the stateComment to set

getState

public State getState()
Get the state of the project.

Returns:
the state

setState

@Deprecated
public void setState(State state)
Deprecated. 

Set the state of the project.

Parameters:
state - the state to set

getLead

public String getLead()
Get the lead of the project.

Returns:
the lead

setLead

public void setLead(String lead)
Set the lead of the project.

Parameters:
lead - the lead to set

getContext

public OrganizationDescriptor getContext()
Get the parent organization of the project.

Returns:
the parent organization of the project.

setContext

@Deprecated
public void setContext(OrganizationDescriptor context)
Deprecated. 

Set the parent organization of the project.

Parameters:
context - the context to set

clone

public Project clone()
              throws CloneNotSupportedException
Create and return a copy of this object.

Overrides:
clone in class ProjectDescriptor
Throws:
CloneNotSupportedException
See Also:
Object.clone()

hashCode

public int hashCode()
Return a hash code value for the object.

Overrides:
hashCode in class ProjectDescriptor
See Also:
Object.hashCode()

equals

public boolean equals(Object obj)
Indicate whether some other object is "equal to" this one.

Overrides:
equals in class ProjectDescriptor
See Also:
Object.equals(java.lang.Object)

toString

public String toString()
Return a string representation of the object.

Overrides:
toString in class ProjectDescriptor
See Also:
Object.toString()


Copyright (c) 2012, SAS Institute Inc., Cary, NC, USA