Class TechId
java.lang.Object
ch.systemsx.cisd.openbis.generic.shared.basic.TechId
- All Implemented Interfaces:
ICustomIdHolder<Long>,IIdHolder,Serializable
Technical identifier of an entity.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasLongs(Collection<TechId> techIds) Convenience method for getting a list of long ids from given list ofTechIds.static TechIdcreateList(long... ids) Convenience method for getting a list of technical ids from given array of longs.createList(Collection<? extends IIdHolder> idHolders) Convenience method for getting a list of technical ids from given list of objects with identifiers.createList(List<Long> ids) Convenience method for getting a list of technical ids from collection of longs.static TechIdCreates aTechIdwhich string representation matches all technical identifiers.final booleangetId()Returns the technical ID of this instance.final inthashCode()toString()
-
Constructor Details
-
TechId
public TechId() -
TechId
-
TechId
-
-
Method Details
-
createList
Convenience method for getting a list of technical ids from given array of longs. -
createList
Convenience method for getting a list of technical ids from collection of longs. -
createList
Convenience method for getting a list of technical ids from given list of objects with identifiers.- See Also:
-
asLongs
Convenience method for getting a list of long ids from given list ofTechIds.- See Also:
-
getId
Description copied from interface:ICustomIdHolderReturns the technical ID of this instance.- Specified by:
getIdin interfaceICustomIdHolder<Long>- Returns:
nullif there is no Id.
-
equals
-
hashCode
public final int hashCode() -
toString
-
createWildcardTechId
Creates aTechIdwhich string representation matches all technical identifiers.