public interface NFECatalog
Modifier and Type | Method and Description |
---|---|
boolean |
addCatalogValue(NFECatalogValue catalogValue)
Adds a value to the catalog
|
NFECatalog |
createCopy()
Returns object copy.
|
NFEAttributeType |
getAttributeType()
Gets the catalog's type.
|
java.lang.Object[] |
getCatalogSimpleValues()
Gets the actual values (that is, not holders) defined in the catalog
|
java.util.Collection<NFECatalogValue> |
getCatalogValues()
Gets all the values defined in the catalog
|
long |
getId()
Gets the catalog ID
|
java.lang.String |
getName()
Gets the catalog's name
|
boolean |
removeCatalogValue(NFECatalogValue catalogValue)
Removes a value from the catalog
|
void |
setAttributeType(NFEAttributeType attributeType)
Sets the catalog's type.
|
void |
setId(long id)
Sets the catalog ID
|
void |
setName(java.lang.String name)
Sets the catalog's name
|
long getId()
void setId(long id)
id
- the catalog IDjava.lang.String getName()
void setName(java.lang.String name)
name
- the catalog's nameNFEAttributeType getAttributeType()
void setAttributeType(NFEAttributeType attributeType)
attributeType
- an attribute type valuejava.util.Collection<NFECatalogValue> getCatalogValues()
boolean addCatalogValue(NFECatalogValue catalogValue)
catalogValue
- a catalog value holder. The value type must match the catalog typeboolean removeCatalogValue(NFECatalogValue catalogValue)
catalogValue
- a catalog value holderjava.lang.Object[] getCatalogSimpleValues()
NFECatalog createCopy()