public class NFEBasicCatalog extends java.lang.Object implements NFECatalog
NFECatalog| Constructor and Description | 
|---|
NFEBasicCatalog()  | 
| 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 
 | 
java.lang.String | 
toString()  | 
public long getId()
NFECataloggetId in interface NFECatalogpublic void setId(long id)
NFECatalogsetId in interface NFECatalogid - the catalog IDpublic java.lang.String getName()
NFECataloggetName in interface NFECatalogpublic void setName(java.lang.String name)
NFECatalogsetName in interface NFECatalogname - the catalog's namepublic NFEAttributeType getAttributeType()
NFECataloggetAttributeType in interface NFECatalogpublic void setAttributeType(NFEAttributeType attributeType)
NFECatalogsetAttributeType in interface NFECatalogattributeType - an attribute type valuepublic java.util.Collection<NFECatalogValue> getCatalogValues()
NFECataloggetCatalogValues in interface NFECatalogpublic boolean addCatalogValue(NFECatalogValue catalogValue)
NFECatalogaddCatalogValue in interface NFECatalogcatalogValue - a catalog value holder. The value type must match the catalog typepublic boolean removeCatalogValue(NFECatalogValue catalogValue)
NFECatalogremoveCatalogValue in interface NFECatalogcatalogValue - a catalog value holderpublic java.lang.Object[] getCatalogSimpleValues()
NFECataloggetCatalogSimpleValues in interface NFECatalogpublic java.lang.String toString()
toString in class java.lang.Objectpublic NFECatalog createCopy()
NFECatalogcreateCopy in interface NFECatalog