Class VocabularyTerm
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.AbstractRegistrationHolder
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.CodeWithRegistration<T>
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.CodeWithRegistrationAndModificationDate<VocabularyTerm>
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.VocabularyTerm
-
- All Implemented Interfaces:
IVocabularyTermUpdates
,ICodeHolder
,IIdHolder
,IRegistratorAndModifierHolder
,IRegistratorHolder
,java.io.Serializable
,java.lang.Comparable<VocabularyTerm>
- Direct Known Subclasses:
UpdatedVocabularyTerm
@JsonObject("VocabularyTermBasic") public class VocabularyTerm extends CodeWithRegistrationAndModificationDate<VocabularyTerm> implements IVocabularyTermUpdates
A vocabulary term.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CODE
static java.lang.String
DESCRIPTION
static java.lang.String
LABEL
-
Constructor Summary
Constructors Constructor Description VocabularyTerm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCodeOrLabel()
java.lang.String
getDescription()
java.lang.Long
getId()
Returns the technical ID of this instance.java.lang.String
getLabel()
java.util.Date
getModificationDate()
java.lang.Long
getOrdinal()
java.lang.String
getUrl()
java.lang.Boolean
isOfficial()
void
setCode(java.lang.String code)
void
setDescription(java.lang.String description)
void
setId(java.lang.Long id)
void
setLabel(java.lang.String label)
void
setModificationDate(java.util.Date modificationDate)
void
setOfficial(java.lang.Boolean isOfficial)
void
setOrdinal(java.lang.Long ordinal)
void
setUrl(java.lang.String url)
java.lang.String
toString()
-
Methods inherited from class ch.systemsx.cisd.openbis.generic.shared.basic.dto.CodeWithRegistrationAndModificationDate
getModifier, getVersion, setModifier, setVersion
-
Methods inherited from class ch.systemsx.cisd.openbis.generic.shared.basic.dto.CodeWithRegistration
compareTo, getCode
-
Methods inherited from class ch.systemsx.cisd.openbis.generic.shared.basic.dto.AbstractRegistrationHolder
getRegistrationDate, getRegistrator, setRegistrationDate, setRegistrator
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ch.systemsx.cisd.openbis.generic.shared.basic.ICodeHolder
getCode
-
Methods inherited from interface ch.systemsx.cisd.openbis.generic.shared.basic.IRegistratorHolder
getRegistrator
-
-
-
-
Field Detail
-
CODE
public static final java.lang.String CODE
- See Also:
- Constant Field Values
-
LABEL
public static final java.lang.String LABEL
- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public java.lang.Long getId()
Description copied from interface:IIdHolder
Returns the technical ID of this instance.
-
setId
public void setId(java.lang.Long id)
-
setCode
public void setCode(java.lang.String code)
- Overrides:
setCode
in classCodeWithRegistration<VocabularyTerm>
-
setLabel
public void setLabel(java.lang.String label)
-
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel
in interfaceIVocabularyTermUpdates
-
setDescription
public void setDescription(java.lang.String description)
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interfaceIVocabularyTermUpdates
-
getModificationDate
public java.util.Date getModificationDate()
- Specified by:
getModificationDate
in interfaceIVocabularyTermUpdates
- Overrides:
getModificationDate
in classCodeWithRegistrationAndModificationDate<VocabularyTerm>
-
setModificationDate
public void setModificationDate(java.util.Date modificationDate)
- Overrides:
setModificationDate
in classCodeWithRegistrationAndModificationDate<VocabularyTerm>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getCodeOrLabel
public java.lang.String getCodeOrLabel()
-
getUrl
public java.lang.String getUrl()
-
setUrl
public void setUrl(java.lang.String url)
-
getOrdinal
public java.lang.Long getOrdinal()
- Specified by:
getOrdinal
in interfaceIVocabularyTermUpdates
-
setOrdinal
public void setOrdinal(java.lang.Long ordinal)
-
isOfficial
public java.lang.Boolean isOfficial()
-
setOfficial
public void setOfficial(java.lang.Boolean isOfficial)
-
-