org.datanucleus.jdo.metadata
Class ColumnMetadataImpl

java.lang.Object
  extended by org.datanucleus.jdo.metadata.AbstractMetadataImpl
      extended by org.datanucleus.jdo.metadata.ColumnMetadataImpl
All Implemented Interfaces:
javax.jdo.metadata.ColumnMetadata, javax.jdo.metadata.Metadata

public class ColumnMetadataImpl
extends AbstractMetadataImpl
implements javax.jdo.metadata.ColumnMetadata

Implementation of JDO ColumnMetadata object.


Constructor Summary
ColumnMetadataImpl(ColumnMetaData internal)
           
 
Method Summary
 java.lang.Boolean getAllowsNull()
           
 java.lang.String getDefaultValue()
           
 java.lang.String getInsertValue()
           
 ColumnMetaData getInternal()
           
 java.lang.String getJDBCType()
           
 java.lang.Integer getLength()
           
 java.lang.String getName()
           
 java.lang.Integer getScale()
           
 java.lang.String getSQLType()
           
 java.lang.String getTarget()
           
 java.lang.String getTargetField()
           
 javax.jdo.metadata.ColumnMetadata setAllowsNull(boolean flag)
           
 javax.jdo.metadata.ColumnMetadata setDefaultValue(java.lang.String val)
           
 javax.jdo.metadata.ColumnMetadata setInsertValue(java.lang.String val)
           
 javax.jdo.metadata.ColumnMetadata setJDBCType(java.lang.String type)
           
 javax.jdo.metadata.ColumnMetadata setLength(int len)
           
 javax.jdo.metadata.ColumnMetadata setName(java.lang.String name)
           
 javax.jdo.metadata.ColumnMetadata setScale(int scale)
           
 javax.jdo.metadata.ColumnMetadata setSQLType(java.lang.String type)
           
 javax.jdo.metadata.ColumnMetadata setTarget(java.lang.String tgt)
           
 javax.jdo.metadata.ColumnMetadata setTargetField(java.lang.String tgt)
           
 
Methods inherited from class org.datanucleus.jdo.metadata.AbstractMetadataImpl
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.jdo.metadata.Metadata
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata
 

Constructor Detail

ColumnMetadataImpl

public ColumnMetadataImpl(ColumnMetaData internal)
Method Detail

getInternal

public ColumnMetaData getInternal()

getAllowsNull

public java.lang.Boolean getAllowsNull()
Specified by:
getAllowsNull in interface javax.jdo.metadata.ColumnMetadata

getDefaultValue

public java.lang.String getDefaultValue()
Specified by:
getDefaultValue in interface javax.jdo.metadata.ColumnMetadata

getInsertValue

public java.lang.String getInsertValue()
Specified by:
getInsertValue in interface javax.jdo.metadata.ColumnMetadata

getJDBCType

public java.lang.String getJDBCType()
Specified by:
getJDBCType in interface javax.jdo.metadata.ColumnMetadata

getLength

public java.lang.Integer getLength()
Specified by:
getLength in interface javax.jdo.metadata.ColumnMetadata

getName

public java.lang.String getName()
Specified by:
getName in interface javax.jdo.metadata.ColumnMetadata

getSQLType

public java.lang.String getSQLType()
Specified by:
getSQLType in interface javax.jdo.metadata.ColumnMetadata

getScale

public java.lang.Integer getScale()
Specified by:
getScale in interface javax.jdo.metadata.ColumnMetadata

getTarget

public java.lang.String getTarget()
Specified by:
getTarget in interface javax.jdo.metadata.ColumnMetadata

getTargetField

public java.lang.String getTargetField()
Specified by:
getTargetField in interface javax.jdo.metadata.ColumnMetadata

setAllowsNull

public javax.jdo.metadata.ColumnMetadata setAllowsNull(boolean flag)
Specified by:
setAllowsNull in interface javax.jdo.metadata.ColumnMetadata

setDefaultValue

public javax.jdo.metadata.ColumnMetadata setDefaultValue(java.lang.String val)
Specified by:
setDefaultValue in interface javax.jdo.metadata.ColumnMetadata

setInsertValue

public javax.jdo.metadata.ColumnMetadata setInsertValue(java.lang.String val)
Specified by:
setInsertValue in interface javax.jdo.metadata.ColumnMetadata

setJDBCType

public javax.jdo.metadata.ColumnMetadata setJDBCType(java.lang.String type)
Specified by:
setJDBCType in interface javax.jdo.metadata.ColumnMetadata

setLength

public javax.jdo.metadata.ColumnMetadata setLength(int len)
Specified by:
setLength in interface javax.jdo.metadata.ColumnMetadata

setName

public javax.jdo.metadata.ColumnMetadata setName(java.lang.String name)
Specified by:
setName in interface javax.jdo.metadata.ColumnMetadata

setSQLType

public javax.jdo.metadata.ColumnMetadata setSQLType(java.lang.String type)
Specified by:
setSQLType in interface javax.jdo.metadata.ColumnMetadata

setScale

public javax.jdo.metadata.ColumnMetadata setScale(int scale)
Specified by:
setScale in interface javax.jdo.metadata.ColumnMetadata

setTarget

public javax.jdo.metadata.ColumnMetadata setTarget(java.lang.String tgt)
Specified by:
setTarget in interface javax.jdo.metadata.ColumnMetadata

setTargetField

public javax.jdo.metadata.ColumnMetadata setTargetField(java.lang.String tgt)
Specified by:
setTargetField in interface javax.jdo.metadata.ColumnMetadata


Copyright © 2010. All Rights Reserved.