Class ObjectPermId
- java.lang.Object
-
- ch.ethz.sis.openbis.generic.asapi.v3.dto.common.id.ObjectPermId
-
- All Implemented Interfaces:
IObjectId
,java.io.Serializable
- Direct Known Subclasses:
AuthorizationGroupPermId
,ContentCopyPermId
,CustomASServiceCode
,DataSetPermId
,DataStorePermId
,DssServicePermId
,EntityTypePermId
,ExperimentPermId
,ExternalDmsPermId
,FileFormatTypePermId
,LocatorTypePermId
,Me
,OperationExecutionPermId
,PersonPermId
,PluginPermId
,ProjectPermId
,PropertyTypePermId
,SamplePermId
,SemanticAnnotationPermId
,SpacePermId
,StorageFormatPermId
,TagPermId
,VocabularyPermId
@JsonObject("as.dto.common.id.ObjectPermId") public class ObjectPermId extends java.lang.Object implements IObjectId
Base class for ids that identify objects by a perm id. A perm id is an immutable system-generated string. A perm id is assigned to an object during the object creation and cannot be changed afterwards. An object's perm id is guaranteed to be always the same, e.g. a sample perm id remains the same even if the sample is moved to a different space.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ObjectPermId()
ObjectPermId(java.lang.String permId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getPermId()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getPermId
public java.lang.String getPermId()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-