com.sas.hls.drug.analysis
Class Analysis

java.lang.Object
  extended by com.sas.hls.drug.analysis.AnalysisDescriptor
      extended by com.sas.hls.drug.analysis.Analysis
All Implemented Interfaces:
Identifiable, AclContainerSecurable, AclSecurable, GroupContext, MembershipContext, PrivilegeContext, RoleContext, Serializable

public class Analysis
extends AnalysisDescriptor

A client representation of an Analysis in SAS Drug Development.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sas.hls.drug.analysis.AnalysisDescriptor
OBJECT_TYPE
 
Constructor Summary
Analysis(String identifier, String name, String path, ProjectDescriptor context, State state, String stateComment)
          Constructor
 
Method Summary
 boolean equals(Object obj)
          Indicate whether some other object is "equal to" this one.
 ProjectDescriptor getContext()
          Get the parent project of this analysis.
 String getLead()
          Get the lead of the analysis.
 State getState()
          Get the state of the analysis.
 String getStateComment()
          Get the most recent state comment for the analysis.
 int hashCode()
          Return a hash code value for the object.
 void setLead(String lead)
          Set the lead of the analysis.
 String toString()
          Return a string representation of the object.
 
Methods inherited from class com.sas.hls.drug.analysis.AnalysisDescriptor
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

Analysis

public Analysis(String identifier,
                String name,
                String path,
                ProjectDescriptor 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 analysis.

Returns:
the stateComment

getState

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

Returns:
the state

getLead

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

Returns:
the lead

setLead

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

Parameters:
lead - the lead to set

getContext

public ProjectDescriptor getContext()
Get the parent project of this analysis.

Returns:
The parent project of this analysis.

hashCode

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

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

equals

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

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

toString

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

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


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