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 IObjectIdBase 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 protectedObjectPermId()ObjectPermId(java.lang.String permId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetPermId()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getPermId
public java.lang.String getPermId()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-