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()
NFEAttributeDescriptor
getName
in interface NFEAttributeDescriptor
public void setName(java.lang.String name)
NFEAttributeDescriptor
setName
in interface NFEAttributeDescriptor
name
- an attribute namepublic java.lang.Class<?> getTypeClass()
NFEAttributeDescriptor
getTypeClass
in interface NFEAttributeDescriptor
public NFEAttributeType getType()
NFEAttributeDescriptor
getType
in interface NFEAttributeDescriptor
public void setType(NFEAttributeType type)
NFEAttributeDescriptor
setType
in interface NFEAttributeDescriptor
type
- an attribute type valuepublic int getLength()
NFEAttributeDescriptor
getLength
in interface NFEAttributeDescriptor
public void setLength(int length)
NFEAttributeDescriptor
setLength
in interface NFEAttributeDescriptor
length
- a string attribute maximum lengthpublic int getCategory()
NFEAttributeDescriptor
getCategory
in interface NFEAttributeDescriptor
public void setCategory(int category)
NFEAttributeDescriptor
setCategory
in interface NFEAttributeDescriptor
category
- an attribute category valuepublic NFECatalog getCatalog()
NFEAttributeDescriptor
getCatalog
in interface NFEAttributeDescriptor
public void setCatalog(NFECatalog catalog)
NFEAttributeDescriptor
setCatalog
in interface NFEAttributeDescriptor
catalog
- a catalog instancepublic NFEAttributeDescriptor createCopy()
NFEAttributeDescriptor
createCopy
in interface NFEAttributeDescriptor