Class NFEBasicCatalog
- java.lang.Object
-
- oracle.spatial.network.nfe.model.feature.NFEBasicCatalog
-
- All Implemented Interfaces:
NFECatalog
public class NFEBasicCatalog extends java.lang.Object implements NFECatalog
The default implementation ofNFECatalog
-
-
Constructor Summary
Constructors Constructor Description NFEBasicCatalog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddCatalogValue(NFECatalogValue catalogValue)Adds a value to the catalogNFECatalogcreateCopy()Returns object copy.NFEAttributeTypegetAttributeType()Gets the catalog's type.java.lang.Object[]getCatalogSimpleValues()Gets the actual values (that is, not holders) defined in the catalogjava.util.Collection<NFECatalogValue>getCatalogValues()Gets all the values defined in the cataloglonggetId()Gets the catalog IDjava.lang.StringgetName()Gets the catalog's namebooleanremoveCatalogValue(NFECatalogValue catalogValue)Removes a value from the catalogvoidsetAttributeType(NFEAttributeType attributeType)Sets the catalog's type.voidsetId(long id)Sets the catalog IDvoidsetName(java.lang.String name)Sets the catalog's namejava.lang.StringtoString()
-
-
-
Method Detail
-
getId
public long getId()
Description copied from interface:NFECatalogGets the catalog ID- Specified by:
getIdin interfaceNFECatalog- Returns:
- the catalog ID
-
setId
public void setId(long id)
Description copied from interface:NFECatalogSets the catalog ID- Specified by:
setIdin interfaceNFECatalog- Parameters:
id- the catalog ID
-
getName
public java.lang.String getName()
Description copied from interface:NFECatalogGets the catalog's name- Specified by:
getNamein interfaceNFECatalog- Returns:
- the catalog's name
-
setName
public void setName(java.lang.String name)
Description copied from interface:NFECatalogSets the catalog's name- Specified by:
setNamein interfaceNFECatalog- Parameters:
name- the catalog's name
-
getAttributeType
public NFEAttributeType getAttributeType()
Description copied from interface:NFECatalogGets the catalog's type. This is the type of the values stored at the catalog- Specified by:
getAttributeTypein interfaceNFECatalog- Returns:
- an attribute type value
-
setAttributeType
public void setAttributeType(NFEAttributeType attributeType)
Description copied from interface:NFECatalogSets the catalog's type. This is the type of the values stored at the catalog- Specified by:
setAttributeTypein interfaceNFECatalog- Parameters:
attributeType- an attribute type value
-
getCatalogValues
public java.util.Collection<NFECatalogValue> getCatalogValues()
Description copied from interface:NFECatalogGets all the values defined in the catalog- Specified by:
getCatalogValuesin interfaceNFECatalog- Returns:
- a collection containing all values of the catalog
-
addCatalogValue
public boolean addCatalogValue(NFECatalogValue catalogValue)
Description copied from interface:NFECatalogAdds a value to the catalog- Specified by:
addCatalogValuein interfaceNFECatalog- Parameters:
catalogValue- a catalog value holder. The value type must match the catalog type- Returns:
-
removeCatalogValue
public boolean removeCatalogValue(NFECatalogValue catalogValue)
Description copied from interface:NFECatalogRemoves a value from the catalog- Specified by:
removeCatalogValuein interfaceNFECatalog- Parameters:
catalogValue- a catalog value holder- Returns:
- true if the value was removed
-
getCatalogSimpleValues
public java.lang.Object[] getCatalogSimpleValues()
Description copied from interface:NFECatalogGets the actual values (that is, not holders) defined in the catalog- Specified by:
getCatalogSimpleValuesin interfaceNFECatalog- Returns:
- an array of values as objects
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
createCopy
public NFECatalog createCopy()
Description copied from interface:NFECatalogReturns object copy.- Specified by:
createCopyin interfaceNFECatalog- Returns:
- object copy
-
-