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,ICustomIdHolder<Long>,IIdHolder,IRegistratorHolder,Serializable,Comparable<Vocabulary>
@JsonObject("VocabularyBasic")
public class Vocabulary
extends CodeWithRegistration<Vocabulary>
implements IVocabularyUpdates
Controlled vocabulary.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfinal StringgetId()Returns the technical ID of this instance.final List<VocabularyTerm> getTerms()inthashCode()booleanfinal booleanfinal booleanvoidsetChosenFromList(boolean chosenFromList) final voidsetDescription(String description) voidfinal voidsetInternalNamespace(boolean internalNamespace) final voidsetManagedInternally(boolean managedInternally) voidsetModificationDate(Date modificationDate) final voidsetTerms(List<VocabularyTerm> terms) voidsetURLTemplate(String urlTemplate) Methods inherited from class ch.systemsx.cisd.openbis.generic.shared.basic.dto.CodeWithRegistration
compareTo, getCode, setCodeMethods inherited from class ch.systemsx.cisd.openbis.generic.shared.basic.dto.AbstractRegistrationHolder
getRegistrationDate, getRegistrator, setRegistrationDate, setRegistratorMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.systemsx.cisd.openbis.generic.shared.basic.ICodeHolder
getCode
-
Constructor Details
-
Vocabulary
public Vocabulary()
-
-
Method Details
-
getId
Description copied from interface:ICustomIdHolderReturns the technical ID of this instance.- Specified by:
getIdin interfaceICustomIdHolder<Long>- Returns:
nullif there is no Id.
-
setId
-
getDescription
- Specified by:
getDescriptionin interfaceIVocabularyUpdates
-
setDescription
-
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:
isChosenFromListin interfaceIVocabularyUpdates
-
setChosenFromList
public void setChosenFromList(boolean chosenFromList) -
getURLTemplate
- Specified by:
getURLTemplatein interfaceIVocabularyUpdates
-
setURLTemplate
-
getTerms
-
setTerms
-
getModificationDate
- Specified by:
getModificationDatein interfaceIVocabularyUpdates
-
setModificationDate
-
hashCode
public int hashCode() -
equals
-