org.datanucleus.jdo.metadata
Class DiscriminatorMetadataImpl

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

public class DiscriminatorMetadataImpl
extends AbstractMetadataImpl
implements javax.jdo.metadata.DiscriminatorMetadata

Implementation of JDO DiscriminatorMetadata object.


Constructor Summary
DiscriminatorMetadataImpl(DiscriminatorMetaData internal)
           
 
Method Summary
 java.lang.String getColumn()
           
 javax.jdo.metadata.ColumnMetadata[] getColumns()
           
 javax.jdo.metadata.Indexed getIndexed()
           
 javax.jdo.metadata.IndexMetadata getIndexMetadata()
           
 DiscriminatorMetaData getInternal()
           
 int getNumberOfColumns()
           
 javax.jdo.annotations.DiscriminatorStrategy getStrategy()
           
 java.lang.String getValue()
           
 javax.jdo.metadata.ColumnMetadata newColumnMetadata()
           
 javax.jdo.metadata.IndexMetadata newIndexMetadata()
           
 javax.jdo.metadata.DiscriminatorMetadata setColumn(java.lang.String name)
           
 javax.jdo.metadata.DiscriminatorMetadata setIndexed(javax.jdo.metadata.Indexed idx)
           
 javax.jdo.metadata.DiscriminatorMetadata setStrategy(javax.jdo.annotations.DiscriminatorStrategy str)
           
 javax.jdo.metadata.DiscriminatorMetadata setValue(java.lang.String val)
           
 
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

DiscriminatorMetadataImpl

public DiscriminatorMetadataImpl(DiscriminatorMetaData internal)
Method Detail

getInternal

public DiscriminatorMetaData getInternal()

getColumn

public java.lang.String getColumn()
Specified by:
getColumn in interface javax.jdo.metadata.DiscriminatorMetadata

getColumns

public javax.jdo.metadata.ColumnMetadata[] getColumns()
Specified by:
getColumns in interface javax.jdo.metadata.DiscriminatorMetadata

getIndexMetadata

public javax.jdo.metadata.IndexMetadata getIndexMetadata()
Specified by:
getIndexMetadata in interface javax.jdo.metadata.DiscriminatorMetadata

getIndexed

public javax.jdo.metadata.Indexed getIndexed()
Specified by:
getIndexed in interface javax.jdo.metadata.DiscriminatorMetadata

getNumberOfColumns

public int getNumberOfColumns()
Specified by:
getNumberOfColumns in interface javax.jdo.metadata.DiscriminatorMetadata

getStrategy

public javax.jdo.annotations.DiscriminatorStrategy getStrategy()
Specified by:
getStrategy in interface javax.jdo.metadata.DiscriminatorMetadata

getValue

public java.lang.String getValue()
Specified by:
getValue in interface javax.jdo.metadata.DiscriminatorMetadata

newColumnMetadata

public javax.jdo.metadata.ColumnMetadata newColumnMetadata()
Specified by:
newColumnMetadata in interface javax.jdo.metadata.DiscriminatorMetadata

newIndexMetadata

public javax.jdo.metadata.IndexMetadata newIndexMetadata()
Specified by:
newIndexMetadata in interface javax.jdo.metadata.DiscriminatorMetadata

setColumn

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

setIndexed

public javax.jdo.metadata.DiscriminatorMetadata setIndexed(javax.jdo.metadata.Indexed idx)
Specified by:
setIndexed in interface javax.jdo.metadata.DiscriminatorMetadata

setStrategy

public javax.jdo.metadata.DiscriminatorMetadata setStrategy(javax.jdo.annotations.DiscriminatorStrategy str)
Specified by:
setStrategy in interface javax.jdo.metadata.DiscriminatorMetadata

setValue

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


Copyright © 2010. All Rights Reserved.