com.sas.hls.drug.project
Class ProjectDescriptor

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

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

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()
          Deprecated. 
ProjectDescriptor(String identifier)
          Constructor
ProjectDescriptor(String identifier, String name, String path)
          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)
          Deprecated. 
 void setName(String name)
          Deprecated. 
 void setObjectType(String objectType)
          Deprecated. 
 void setPath(String path)
          Deprecated. 
 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

@Deprecated
public ProjectDescriptor()
Deprecated. 

Zero-arg constructor.


ProjectDescriptor

public ProjectDescriptor(String identifier,
                         String name,
                         String path)
Constructor

Parameters:
identifier -
name -
path -

ProjectDescriptor

public ProjectDescriptor(String identifier)
Constructor

Parameters:
identifier -
Method Detail

getIdentifier

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

Specified by:
getIdentifier in interface Identifiable
Returns:
the identifier

setIdentifier

@Deprecated
public void setIdentifier(String identifier)
Deprecated. 

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

@Deprecated
public void setName(String name)
Deprecated. 

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

@Deprecated
public void setPath(String path)
Deprecated. 

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

@Deprecated
public void setObjectType(String objectType)
Deprecated. 

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