public class CodeList
extends org.gcube.common.dbinterface.persistence.ObjectStateControl
| Constructor and Description |
|---|
CodeList() |
CodeList(String agencyId,
String name,
String description,
boolean isFinal) |
public boolean initialize(CodeListCuration mapper)
public CodeListType getCodelistType()
public org.gcube.common.dbinterface.tables.SimpleTable getTable()
public float getVersion()
public String getParentCodeListId()
public String getId()
public void setId(String id)
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
concept - the concept to setpublic String getAgency()
public void setAgency(String agency)
agency - the agency to setpublic boolean isFinal()
public void setFinal(boolean isFinal)
isFinal - the isFinal to setpublic String getRelatedTableName()
public Hashtable<String,TableField> getLabelFieldMapping()
public Calendar getModificationDate()
public void setModificationDate(Calendar modificationDate)
modificationDate - the modificationDate to setpublic boolean isApproved()
public Calendar getCreationDate()
public void setVersion(float version)
version - the version to setpublic void setApproved(boolean approved)
approved - the approved to setpublic String getCodeColumnId()
public boolean addLine()
public boolean removeLine()
public boolean store()
public static Iterator<CodeList> getByName(String name) throws Exception
Exceptionpublic static Iterator<CodeList> getByType(CodeListType type) throws Exception
ExceptionCopyright © 2014. All Rights Reserved.