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