Class CodeWithRegistration<T extends CodeWithRegistration<T>>
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.AbstractRegistrationHolder
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.CodeWithRegistration<T>
-
- All Implemented Interfaces:
ICodeHolder
,IRegistratorHolder
,java.io.Serializable
,java.lang.Comparable<T>
- Direct Known Subclasses:
CodeWithRegistrationAndModificationDate
,Space
,Vocabulary
public class CodeWithRegistration<T extends CodeWithRegistration<T>> extends AbstractRegistrationHolder implements ICodeHolder, java.lang.Comparable<T>
AnAbstractRegistrationHolder
extension which holds a code.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CodeWithRegistration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(T o)
java.lang.String
getCode()
Returns the code.void
setCode(java.lang.String code)
-
Methods inherited from class ch.systemsx.cisd.openbis.generic.shared.basic.dto.AbstractRegistrationHolder
getRegistrationDate, getRegistrator, setRegistrationDate, setRegistrator
-
-
-
-
Method Detail
-
setCode
public void setCode(java.lang.String code)
-
getCode
public final java.lang.String getCode()
Description copied from interface:ICodeHolder
Returns the code.- Specified by:
getCode
in interfaceICodeHolder
-
compareTo
public int compareTo(T o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<T extends CodeWithRegistration<T>>
-
-