Class Category
java.lang.Object
ecmwf.common.database.DataBaseObject
ecmwf.common.database.Category
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanThe cat active.protected StringThe cat description.protected longThe cat id.protected StringThe cat name.Fields inherited from class ecmwf.common.database.DataBaseObject
collectionSize, TAG_ACROSS_MULTIPLE_LINES, TAG_END_OF_LINES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals.booleanGets the active.Gets the description.longgetId()Gets the id.getName()Gets the name.inthashCode()Hash code.voidsetActive(boolean param) Sets the active.voidSets the active.voidsetDescription(String param) Sets the description.voidsetId(long param) Sets the id.voidSets the id.voidSets the name.Methods inherited from class ecmwf.common.database.DataBaseObject
bigDecimalToTimestamp, clone, compare, compare, getCollectionSize, integerToInt, integerToString, setCollectionSize, strim, stringToInteger, stringToLong, stringToString, timestampToBigDecimal, toString, toString, toString, toString
-
Field Details
-
CAT_ACTIVE
protected boolean CAT_ACTIVEThe cat active. -
CAT_DESCRIPTION
The cat description. -
CAT_ID
protected long CAT_IDThe cat id. -
CAT_NAME
The cat name.
-
-
Constructor Details
-
Category
public Category()Instantiates a new category. -
Category
public Category(long id) Instantiates a new category.- Parameters:
id- the id
-
-
Method Details
-
getActive
public boolean getActive()Gets the active.- Returns:
- the active
-
setActive
public void setActive(boolean param) Sets the active.- Parameters:
param- the new active
-
setActive
-
getDescription
-
setDescription
Sets the description.- Parameters:
param- the new description
-
getId
public long getId()Gets the id.- Returns:
- the id
-
setId
public void setId(long param) Sets the id.- Parameters:
param- the new id
-
setId
-
getName
-
setName
-
hashCode
-
equals
-