public class NFEBasicAttributeDescriptor extends java.lang.Object implements NFEAttributeDescriptor
NFEAttributeDescriptor| Constructor and Description |
|---|
NFEBasicAttributeDescriptor() |
| 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 name)
Sets the attribute name
|
void |
setType(NFEAttributeType type)
Sets the attribute type identifier
|
public java.lang.String getName()
NFEAttributeDescriptorgetName in interface NFEAttributeDescriptorpublic void setName(java.lang.String name)
NFEAttributeDescriptorsetName in interface NFEAttributeDescriptorname - an attribute namepublic java.lang.Class<?> getTypeClass()
NFEAttributeDescriptorgetTypeClass in interface NFEAttributeDescriptorpublic NFEAttributeType getType()
NFEAttributeDescriptorgetType in interface NFEAttributeDescriptorpublic void setType(NFEAttributeType type)
NFEAttributeDescriptorsetType in interface NFEAttributeDescriptortype - an attribute type valuepublic int getLength()
NFEAttributeDescriptorgetLength in interface NFEAttributeDescriptorpublic void setLength(int length)
NFEAttributeDescriptorsetLength in interface NFEAttributeDescriptorlength - a string attribute maximum lengthpublic int getCategory()
NFEAttributeDescriptorgetCategory in interface NFEAttributeDescriptorpublic void setCategory(int category)
NFEAttributeDescriptorsetCategory in interface NFEAttributeDescriptorcategory - an attribute category valuepublic NFECatalog getCatalog()
NFEAttributeDescriptorgetCatalog in interface NFEAttributeDescriptorpublic void setCatalog(NFECatalog catalog)
NFEAttributeDescriptorsetCatalog in interface NFEAttributeDescriptorcatalog - a catalog instancepublic NFEAttributeDescriptor createCopy()
NFEAttributeDescriptorcreateCopy in interface NFEAttributeDescriptor