com.sas.hls.drug.analysis
Class AnalysisDescriptor

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

public class AnalysisDescriptor
extends Object
implements GroupContext, MembershipContext, RoleContext, AclContainerSecurable

A light-weight representation of a SAS Drug Development Analysis.

See Also:
Serialized Form

Field Summary
static String OBJECT_TYPE
          Represents the type name of an Analysis object.
 
Constructor Summary
AnalysisDescriptor(String identifier, String name, String path)
          Deprecated. As of Java API 1.7. Please use AnalysisDescriptor(String, String, String, long, List).
AnalysisDescriptor(String identifier, String path, String name, long revision, List<Attribute> attributes)
          Initializing constructor which sets the values of all variables.
 
Method Summary
 boolean equals(Object obj)
          Indicate whether some other object is "equal to" this one.
 List<Attribute> getAttributes()
          Returns the attributes associated with this Analysis.
 String getIdentifier()
          Get the identifier of this object.
 String getName()
          Returns the name of this Analysis.
 String getObjectType()
          Get the object type of this item.
 String getPath()
          Returns the full path of this Analysis.
 long getRevision()
          Returns the internal revision number of this Analysis.
 int hashCode()
          Return a hash code value for the object.
 void setAttributes(List<Attribute> attributes)
          Set the attributes associated with this Analysis.
 void setRevision(long revision)
          Deprecated. As of Java API 1.7. There is no replacement. Revision is immutable.
 String toString()
          Return a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

OBJECT_TYPE

public static final String OBJECT_TYPE
Represents the type name of an Analysis object.

See Also:
Constant Field Values
Constructor Detail

AnalysisDescriptor

@Deprecated
public AnalysisDescriptor(String identifier,
                                     String name,
                                     String path)
Deprecated. As of Java API 1.7. Please use AnalysisDescriptor(String, String, String, long, List).

Constructor

Parameters:
identifier -
name -
path -

AnalysisDescriptor

public AnalysisDescriptor(String identifier,
                          String path,
                          String name,
                          long revision,
                          List<Attribute> attributes)
Initializing constructor which sets the values of all variables.

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.getAnalysisDescriptorByName(com.sas.hls.drug.project.ProjectDescriptor, String).

Parameters:
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.
Since:
1.7
Method Detail

getIdentifier

public String getIdentifier()
Description copied from interface: Identifiable
Get the identifier of this object.

Specified by:
getIdentifier in interface Identifiable
Returns:
the identifier of this object

getObjectType

public String getObjectType()
Description copied from interface: Identifiable
Get the object type of this item.

Specified by:
getObjectType in interface Identifiable
Returns:
the object type of this item.

getName

public String getName()
Returns the name of this Analysis.

Returns:
The name of this Analysis.

getPath

public String getPath()
Returns the full path of this Analysis.

Returns:
The full path of this Analysis.

getRevision

public long getRevision()
Returns the internal revision number of this Analysis.

Returns:
The internal revision number of this Analysis.

getAttributes

public List<Attribute> getAttributes()
Returns the attributes associated with this Analysis.

Returns:
The attributes associated with this Analysis.

setAttributes

public void setAttributes(List<Attribute> attributes)
Set the attributes associated with this Analysis.

Parameters:
attributes - The attributes to associate with this Analysis.

setRevision

@Deprecated
public void setRevision(long revision)
Deprecated. As of Java API 1.7. There is no replacement. Revision is immutable.

Set the internal revision number of this object.

Parameters:
revision - The new internal revision number of this object.

hashCode

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

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

equals

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

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

toString

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

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


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