Class NFEBasicAttributeDescriptor
- java.lang.Object
-
- oracle.spatial.network.nfe.model.feature.NFEBasicAttributeDescriptor
-
- All Implemented Interfaces:
NFEAttributeDescriptor
public class NFEBasicAttributeDescriptor extends java.lang.Object implements NFEAttributeDescriptor
The default implementation ofNFEAttributeDescriptor
-
-
Constructor Summary
Constructors Constructor Description NFEBasicAttributeDescriptor()
-
Method Summary
All Methods Instance Methods Concrete 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 name)Sets the attribute namevoidsetType(NFEAttributeType type)Sets the attribute type identifier
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:NFEAttributeDescriptorGets the attribute name- Specified by:
getNamein interfaceNFEAttributeDescriptor- Returns:
- an attribute name
-
setName
public void setName(java.lang.String name)
Description copied from interface:NFEAttributeDescriptorSets the attribute name- Specified by:
setNamein interfaceNFEAttributeDescriptor- Parameters:
name- an attribute name
-
getTypeClass
public java.lang.Class<?> getTypeClass()
Description copied from interface:NFEAttributeDescriptorGets the attribute type as a Java Class- Specified by:
getTypeClassin interfaceNFEAttributeDescriptor- Returns:
- the Java type representing the attribute type
-
getType
public NFEAttributeType getType()
Description copied from interface:NFEAttributeDescriptorGets the attribute type identifier- Specified by:
getTypein interfaceNFEAttributeDescriptor- Returns:
- an attribute type value
-
setType
public void setType(NFEAttributeType type)
Description copied from interface:NFEAttributeDescriptorSets the attribute type identifier- Specified by:
setTypein interfaceNFEAttributeDescriptor- Parameters:
type- an attribute type value
-
getLength
public int getLength()
Description copied from interface:NFEAttributeDescriptorGets the maximum length the attribute can be if it is a VARCHAR type- Specified by:
getLengthin interfaceNFEAttributeDescriptor- Returns:
- a string attribute maximum length
-
setLength
public void setLength(int length)
Description copied from interface:NFEAttributeDescriptorSets the maximum length the attribute can be if it is a VARCHAR type- Specified by:
setLengthin interfaceNFEAttributeDescriptor- Parameters:
length- a string attribute maximum length
-
getCategory
public int getCategory()
Description copied from interface:NFEAttributeDescriptorGets the attribute category value- Specified by:
getCategoryin interfaceNFEAttributeDescriptor- Returns:
- an attribute category value
-
setCategory
public void setCategory(int category)
Description copied from interface:NFEAttributeDescriptorSets the attribute category value- Specified by:
setCategoryin interfaceNFEAttributeDescriptor- Parameters:
category- an attribute category value
-
getCatalog
public NFECatalog getCatalog()
Description copied from interface:NFEAttributeDescriptorGets the catalog associated to this attribute (if any)- Specified by:
getCatalogin interfaceNFEAttributeDescriptor- Returns:
- An NFECatalog instance or null if the attribute is not associated to a catalog
-
setCatalog
public void setCatalog(NFECatalog catalog)
Description copied from interface:NFEAttributeDescriptorSets the catalog associated to this attribute- Specified by:
setCatalogin interfaceNFEAttributeDescriptor- Parameters:
catalog- a catalog instance
-
createCopy
public NFEAttributeDescriptor createCopy()
Description copied from interface:NFEAttributeDescriptorReturns object copy.- Specified by:
createCopyin interfaceNFEAttributeDescriptor- Returns:
- object copy
-
-