Class Category
java.lang.Object
ecmwf.common.database.DataBaseObject
ecmwf.common.database.Category
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
The cat active.protected String
The cat description.protected long
The cat id.protected String
The 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 TypeMethodDescriptionboolean
Equals.boolean
Gets the active.Gets the description.long
getId()
Gets the id.getName()
Gets the name.int
hashCode()
Hash code.void
setActive
(boolean param) Sets the active.void
Sets the active.void
setDescription
(String param) Sets the description.void
setId
(long param) Sets the id.void
Sets the id.void
Sets 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
-