Interface NFEAttributeDescriptor
-
- All Known Implementing Classes:
NFEBasicAttributeDescriptor
public interface NFEAttributeDescriptorUsed to describe an attribute definition of a Feature Layer. Basically, it contains attribute metadata.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NFEAttributeDescriptorcreateCopy()Returns object copy.NFECataloggetCatalog()Gets the catalog associated to this attribute (if any)intgetCategory()Gets the attribute category valueintgetLength()Gets the maximum length the attribute can be if it is a VARCHAR typejava.lang.StringgetName()Gets the attribute nameNFEAttributeTypegetType()Gets the attribute type identifierjava.lang.Class<?>getTypeClass()Gets the attribute type as a Java ClassvoidsetCatalog(NFECatalog catalog)Sets the catalog associated to this attributevoidsetCategory(int category)Sets the attribute category valuevoidsetLength(int length)Sets the maximum length the attribute can be if it is a VARCHAR typevoidsetName(java.lang.String attrName)Sets the attribute namevoidsetType(NFEAttributeType type)Sets the attribute type identifier
-
-
-
Method Detail
-
getName
java.lang.String getName()
Gets the attribute name- Returns:
- an attribute name
-
setName
void setName(java.lang.String attrName)
Sets the attribute name- Parameters:
attrName- an attribute name
-
getTypeClass
java.lang.Class<?> getTypeClass()
Gets the attribute type as a Java Class- Returns:
- the Java type representing the attribute type
-
getType
NFEAttributeType getType()
Gets the attribute type identifier- Returns:
- an attribute type value
-
setType
void setType(NFEAttributeType type)
Sets the attribute type identifier- Parameters:
type- an attribute type value
-
getLength
int getLength()
Gets the maximum length the attribute can be if it is a VARCHAR type- Returns:
- a string attribute maximum length
-
setLength
void setLength(int length)
Sets the maximum length the attribute can be if it is a VARCHAR type- Parameters:
length- a string attribute maximum length
-
getCategory
int getCategory()
Gets the attribute category value- Returns:
- an attribute category value
-
setCategory
void setCategory(int category)
Sets the attribute category value- Parameters:
category- an attribute category value
-
getCatalog
NFECatalog getCatalog()
Gets the catalog associated to this attribute (if any)- Returns:
- An NFECatalog instance or null if the attribute is not associated to a catalog
-
setCatalog
void setCatalog(NFECatalog catalog)
Sets the catalog associated to this attribute- Parameters:
catalog- a catalog instance
-
createCopy
NFEAttributeDescriptor createCopy()
Returns object copy.- Returns:
- object copy
-
-