Class Vocabulary
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.AbstractRegistrationHolder
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.CodeWithRegistration<Vocabulary>
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.Vocabulary
-
- All Implemented Interfaces:
IVocabularyUpdates
,ICodeHolder
,IIdHolder
,IRegistratorHolder
,java.io.Serializable
,java.lang.Comparable<Vocabulary>
- Direct Known Subclasses:
NewVocabulary
@JsonObject("VocabularyBasic") public class Vocabulary extends CodeWithRegistration<Vocabulary> implements IVocabularyUpdates
Controlled vocabulary.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Vocabulary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getDescription()
java.lang.Long
getId()
Returns the technical ID of this instance.java.util.Date
getModificationDate()
java.util.List<VocabularyTerm>
getTerms()
java.lang.String
getURLTemplate()
int
hashCode()
boolean
isChosenFromList()
boolean
isInternalNamespace()
boolean
isManagedInternally()
void
setChosenFromList(boolean chosenFromList)
void
setDescription(java.lang.String description)
void
setId(java.lang.Long id)
void
setInternalNamespace(boolean internalNamespace)
void
setManagedInternally(boolean managedInternally)
void
setModificationDate(java.util.Date modificationDate)
void
setTerms(java.util.List<VocabularyTerm> terms)
void
setURLTemplate(java.lang.String urlTemplate)
-
Methods inherited from class ch.systemsx.cisd.openbis.generic.shared.basic.dto.CodeWithRegistration
compareTo, getCode, setCode
-
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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ch.systemsx.cisd.openbis.generic.shared.basic.ICodeHolder
getCode
-
-
-
-
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)
-
getDescription
public final java.lang.String getDescription()
- Specified by:
getDescription
in interfaceIVocabularyUpdates
-
setDescription
public final void setDescription(java.lang.String description)
-
isManagedInternally
public final boolean isManagedInternally()
-
setManagedInternally
public final void setManagedInternally(boolean managedInternally)
-
isInternalNamespace
public final boolean isInternalNamespace()
-
setInternalNamespace
public final void setInternalNamespace(boolean internalNamespace)
-
isChosenFromList
public boolean isChosenFromList()
- Specified by:
isChosenFromList
in interfaceIVocabularyUpdates
-
setChosenFromList
public void setChosenFromList(boolean chosenFromList)
-
getURLTemplate
public java.lang.String getURLTemplate()
- Specified by:
getURLTemplate
in interfaceIVocabularyUpdates
-
setURLTemplate
public void setURLTemplate(java.lang.String urlTemplate)
-
getTerms
public final java.util.List<VocabularyTerm> getTerms()
-
setTerms
public final void setTerms(java.util.List<VocabularyTerm> terms)
-
getModificationDate
public java.util.Date getModificationDate()
- Specified by:
getModificationDate
in interfaceIVocabularyUpdates
-
setModificationDate
public void setModificationDate(java.util.Date modificationDate)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-