com.sas.hls.drug.project
Class ProjectDescriptor

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

public class ProjectDescriptor
extends Object
implements Cloneable, GroupContext, MembershipContext, RoleContext

A light-weight representation of a SAS Drug Development project. See Project for details contained in a project object.

See Also:
Serialized Form

Field Summary
static String OBJECT_TYPE
          Represents the type name of a Project object.
 
Constructor Summary
ProjectDescriptor()
          Zero-arg constructor.
 
Method Summary
 ProjectDescriptor clone()
          Create and return a copy of this object.
 boolean equals(Object obj)
          Indicate whether some other object is "equal to" this one.
 List<Attribute> getAttributes()
          Get the attributes associated with the projectDescriptor.
 String getIdentifier()
          Get the identifier of the projectDescriptor.
 String getName()
          Get the name of the projectDescriptor.
 String getObjectType()
          Get the objectType of the projectDescriptor.
 String getPath()
          Get the path of the projectDescriptor.
 long getRevision()
          Get the internal revision number of this object.
 int hashCode()
          Return a hash code value for the object.
 void setAttributes(List<Attribute> attributes)
          Set the attributes associated with this projectDescriptor.
 void setIdentifier(String identifier)
          Set the identifier of the projectDescriptor.
 void setName(String name)
          Set the name of the projectDescriptor.
 void setObjectType(String objectType)
          Set the objectType of the projectDescriptor.
 void setPath(String path)
          Set the path of the projectDescriptor.
 void setRevision(long revision)
          Set the internal revision number of this object.
 String toString()
          Return a string representation of the object.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

OBJECT_TYPE

public static final String OBJECT_TYPE
Represents the type name of a Project object.

See Also:
Constant Field Values
Constructor Detail

ProjectDescriptor

public ProjectDescriptor()
Zero-arg constructor.

Method Detail

getIdentifier

public String getIdentifier()
Get the identifier of the projectDescriptor.

Specified by:
getIdentifier in interface Identifiable
Returns:
the identifier

setIdentifier

public void setIdentifier(String identifier)
Set the identifier of the projectDescriptor.

Parameters:
identifier - the identifier to set

getName

public String getName()
Get the name of the projectDescriptor.

Returns:
the name

setName

public void setName(String name)
Set the name of the projectDescriptor.

Parameters:
name - the name to set

getAttributes

public List<Attribute> getAttributes()
Get the attributes associated with the projectDescriptor.

Returns:
the attributes set on the projectDescriptor.

setAttributes

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

Parameters:
attributes - the attributes to set

getPath

public String getPath()
Get the path of the projectDescriptor.

Returns:
the path

setPath

public void setPath(String path)
Set the path of the projectDescriptor.

Parameters:
path - the path to set

getObjectType

public String getObjectType()
Get the objectType of the projectDescriptor.

Specified by:
getObjectType in interface Identifiable
Returns:
the objectType

setObjectType

public void setObjectType(String objectType)
Set the objectType of the projectDescriptor.

Parameters:
objectType - the objectType to set

getRevision

public long getRevision()
Get the internal revision number of this object.

Returns:
the internal revision number of this object.

setRevision

public void setRevision(long revision)
Set the internal revision number of this object.

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

clone

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

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

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) 2012, SAS Institute Inc., Cary, NC, USA