|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.systemsx.cisd.openbis.generic.shared.api.v1.dto.Project
@JsonObject(value="Project") public final class Project
Immutable value object representing a project. A project is specified by its code and the code of the space to which it belongs.
Constructor Summary | |
---|---|
Project(java.lang.Long id,
java.lang.String permId,
java.lang.String spaceCode,
java.lang.String code)
Creates a new instance for the specified tech id, perm id, space code and project code. |
|
Project(java.lang.Long id,
java.lang.String permId,
java.lang.String spaceCode,
java.lang.String code,
EntityRegistrationDetails registrationDetails)
Creates a new instance for the specified space code and project code. |
|
Project(java.lang.String spaceCode,
java.lang.String code)
Creates a new instance for the specified space code and project code. |
|
Project(java.lang.String spaceCode,
java.lang.String code,
EntityRegistrationDetails registrationDetails)
Creates a new instance for the specified tech id, perm id, space code and project code. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getCode()
Returns the project code. |
java.lang.Long |
getId()
Returns the techical database id of the project. |
java.lang.String |
getIdentifier()
|
java.lang.String |
getPermId()
Returns the permanent id of the project. |
EntityRegistrationDetails |
getRegistrationDetails()
Return the vocabulary term registration details. |
java.lang.String |
getSpaceCode()
Returns the space code. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Project(java.lang.Long id, java.lang.String permId, java.lang.String spaceCode, java.lang.String code)
java.lang.IllegalArgumentException
- if either the code or the space code is null
or
an empty string.public Project(java.lang.String spaceCode, java.lang.String code)
java.lang.IllegalArgumentException
- if either the code or the space code is null
or
an empty string.public Project(java.lang.String spaceCode, java.lang.String code, EntityRegistrationDetails registrationDetails)
java.lang.IllegalArgumentException
- if either the code or the space code is null
or
an empty string.public Project(java.lang.Long id, java.lang.String permId, java.lang.String spaceCode, java.lang.String code, EntityRegistrationDetails registrationDetails)
java.lang.IllegalArgumentException
- if either the code or the space code is null
or
an empty string.Method Detail |
---|
public java.lang.Long getId()
public java.lang.String getPermId()
public java.lang.String getSpaceCode()
public java.lang.String getCode()
public java.lang.String getIdentifier()
getIdentifier
in interface ch.systemsx.cisd.openbis.generic.shared.basic.IIdentifierHolder
public EntityRegistrationDetails getRegistrationDetails()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |