public interface NFEAttributeDescriptor
Modifier and Type | Method and Description |
---|---|
NFEAttributeDescriptor |
createCopy()
Returns object copy.
|
NFECatalog |
getCatalog()
Gets the catalog associated to this attribute (if any)
|
int |
getCategory()
Gets the attribute category value
|
int |
getLength()
Gets the maximum length the attribute can be if it is a VARCHAR type
|
java.lang.String |
getName()
Gets the attribute name
|
NFEAttributeType |
getType()
Gets the attribute type identifier
|
java.lang.Class<?> |
getTypeClass()
Gets the attribute type as a Java Class
|
void |
setCatalog(NFECatalog catalog)
Sets the catalog associated to this attribute
|
void |
setCategory(int category)
Sets the attribute category value
|
void |
setLength(int length)
Sets the maximum length the attribute can be if it is a VARCHAR type
|
void |
setName(java.lang.String attrName)
Sets the attribute name
|
void |
setType(NFEAttributeType type)
Sets the attribute type identifier
|
java.lang.String getName()
void setName(java.lang.String attrName)
attrName
- an attribute namejava.lang.Class<?> getTypeClass()
NFEAttributeType getType()
void setType(NFEAttributeType type)
type
- an attribute type valueint getLength()
void setLength(int length)
length
- a string attribute maximum lengthint getCategory()
void setCategory(int category)
category
- an attribute category valueNFECatalog getCatalog()
void setCatalog(NFECatalog catalog)
catalog
- a catalog instanceNFEAttributeDescriptor createCopy()