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 NFEAttributeDescriptor
createCopy()
Returns object copy.NFECatalog
getCatalog()
Gets the catalog associated to this attribute (if any)int
getCategory()
Gets the attribute category valueint
getLength()
Gets the maximum length the attribute can be if it is a VARCHAR typejava.lang.String
getName()
Gets the attribute nameNFEAttributeType
getType()
Gets the attribute type identifierjava.lang.Class<?>
getTypeClass()
Gets the attribute type as a Java Classvoid
setCatalog(NFECatalog catalog)
Sets the catalog associated to this attributevoid
setCategory(int category)
Sets the attribute category valuevoid
setLength(int length)
Sets the maximum length the attribute can be if it is a VARCHAR typevoid
setName(java.lang.String name)
Sets the attribute namevoid
setType(NFEAttributeType type)
Sets the attribute type identifier
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:NFEAttributeDescriptor
Gets the attribute name- Specified by:
getName
in interfaceNFEAttributeDescriptor
- Returns:
- an attribute name
-
setName
public void setName(java.lang.String name)
Description copied from interface:NFEAttributeDescriptor
Sets the attribute name- Specified by:
setName
in interfaceNFEAttributeDescriptor
- Parameters:
name
- an attribute name
-
getTypeClass
public java.lang.Class<?> getTypeClass()
Description copied from interface:NFEAttributeDescriptor
Gets the attribute type as a Java Class- Specified by:
getTypeClass
in interfaceNFEAttributeDescriptor
- Returns:
- the Java type representing the attribute type
-
getType
public NFEAttributeType getType()
Description copied from interface:NFEAttributeDescriptor
Gets the attribute type identifier- Specified by:
getType
in interfaceNFEAttributeDescriptor
- Returns:
- an attribute type value
-
setType
public void setType(NFEAttributeType type)
Description copied from interface:NFEAttributeDescriptor
Sets the attribute type identifier- Specified by:
setType
in interfaceNFEAttributeDescriptor
- Parameters:
type
- an attribute type value
-
getLength
public int getLength()
Description copied from interface:NFEAttributeDescriptor
Gets the maximum length the attribute can be if it is a VARCHAR type- Specified by:
getLength
in interfaceNFEAttributeDescriptor
- Returns:
- a string attribute maximum length
-
setLength
public void setLength(int length)
Description copied from interface:NFEAttributeDescriptor
Sets the maximum length the attribute can be if it is a VARCHAR type- Specified by:
setLength
in interfaceNFEAttributeDescriptor
- Parameters:
length
- a string attribute maximum length
-
getCategory
public int getCategory()
Description copied from interface:NFEAttributeDescriptor
Gets the attribute category value- Specified by:
getCategory
in interfaceNFEAttributeDescriptor
- Returns:
- an attribute category value
-
setCategory
public void setCategory(int category)
Description copied from interface:NFEAttributeDescriptor
Sets the attribute category value- Specified by:
setCategory
in interfaceNFEAttributeDescriptor
- Parameters:
category
- an attribute category value
-
getCatalog
public NFECatalog getCatalog()
Description copied from interface:NFEAttributeDescriptor
Gets the catalog associated to this attribute (if any)- Specified by:
getCatalog
in 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:NFEAttributeDescriptor
Sets the catalog associated to this attribute- Specified by:
setCatalog
in interfaceNFEAttributeDescriptor
- Parameters:
catalog
- a catalog instance
-
createCopy
public NFEAttributeDescriptor createCopy()
Description copied from interface:NFEAttributeDescriptor
Returns object copy.- Specified by:
createCopy
in interfaceNFEAttributeDescriptor
- Returns:
- object copy
-
-