Skip navigation links
org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl
Class AttributeField
java.lang.Object
org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.AttributeField
- All Implemented Interfaces:
- java.lang.Comparable<AttributeField>
-
public class AttributeField
- extends java.lang.Object
- implements java.lang.Comparable<AttributeField>
Description of an attribute for unparsing.
Constructor Summary |
AttributeField(java.lang.String name, TypeClass type, int dataLength, int precision, int scale, boolean ncharFormOfUse, SqlReflector reflector)
|
AttributeField(java.lang.String name, TypeClass type, int dataLength, int precision, int scale, java.lang.String character_set_name, SqlReflector reflector)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
m_name
protected java.lang.String m_name
m_type
protected TypeClass m_type
m_dataLength
protected int m_dataLength
m_precision
protected int m_precision
m_scale
protected int m_scale
m_isNChar
protected boolean m_isNChar
m_reflector
protected SqlReflector m_reflector
AttributeField
public AttributeField(java.lang.String name,
TypeClass type,
int dataLength,
int precision,
int scale,
boolean ncharFormOfUse,
SqlReflector reflector)
AttributeField
public AttributeField(java.lang.String name,
TypeClass type,
int dataLength,
int precision,
int scale,
java.lang.String character_set_name,
SqlReflector reflector)
getName
public java.lang.String getName()
-
- Returns:
- the name of the field represented by this Field object
getType
public TypeClass getType()
- Returns the Type object of the declared type of the field.
getDataLength
public int getDataLength()
- Returns the Type object of the declared type of the field.
getPrecision
public int getPrecision()
getScale
public int getScale()
isNChar
public boolean isNChar()
printTypeWithLength
public java.lang.String printTypeWithLength()
printTypeWithLength
public java.lang.String printTypeWithLength(int schemaName)
toString
public java.lang.String toString()
-
- Overrides:
toString
in class java.lang.Object
compareTo
public int compareTo(AttributeField o)
-
- Specified by:
compareTo
in interface java.lang.Comparable<AttributeField>
Skip navigation links