org.datanucleus.jdo.metadata
Class IndexMetadataImpl

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

public class IndexMetadataImpl
extends AbstractMetadataImpl
implements javax.jdo.metadata.IndexMetadata

Implementation of JDO IndexMetadata object.


Constructor Summary
IndexMetadataImpl(IndexMetaData internal)
           
 
Method Summary
 javax.jdo.metadata.ColumnMetadata[] getColumns()
           
 IndexMetaData getInternal()
           
 javax.jdo.metadata.MemberMetadata[] getMembers()
           
 java.lang.String getName()
           
 int getNumberOfColumns()
           
 int getNumberOfMembers()
           
 java.lang.String getTable()
           
 boolean getUnique()
           
 javax.jdo.metadata.ColumnMetadata newColumn()
           
 javax.jdo.metadata.FieldMetadata newFieldMetadata(java.lang.String name)
           
 javax.jdo.metadata.PropertyMetadata newPropertyMetadata(java.lang.String name)
           
 javax.jdo.metadata.IndexMetadata setName(java.lang.String name)
           
 javax.jdo.metadata.IndexMetadata setTable(java.lang.String name)
           
 javax.jdo.metadata.IndexMetadata setUnique(boolean flag)
           
 
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

IndexMetadataImpl

public IndexMetadataImpl(IndexMetaData internal)
Method Detail

getInternal

public IndexMetaData getInternal()

getColumns

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

getMembers

public javax.jdo.metadata.MemberMetadata[] getMembers()
Specified by:
getMembers in interface javax.jdo.metadata.IndexMetadata

getName

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

getNumberOfColumns

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

getNumberOfMembers

public int getNumberOfMembers()
Specified by:
getNumberOfMembers in interface javax.jdo.metadata.IndexMetadata

getTable

public java.lang.String getTable()
Specified by:
getTable in interface javax.jdo.metadata.IndexMetadata

getUnique

public boolean getUnique()
Specified by:
getUnique in interface javax.jdo.metadata.IndexMetadata

newColumn

public javax.jdo.metadata.ColumnMetadata newColumn()
Specified by:
newColumn in interface javax.jdo.metadata.IndexMetadata

newFieldMetadata

public javax.jdo.metadata.FieldMetadata newFieldMetadata(java.lang.String name)
Specified by:
newFieldMetadata in interface javax.jdo.metadata.IndexMetadata

newPropertyMetadata

public javax.jdo.metadata.PropertyMetadata newPropertyMetadata(java.lang.String name)
Specified by:
newPropertyMetadata in interface javax.jdo.metadata.IndexMetadata

setName

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

setTable

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

setUnique

public javax.jdo.metadata.IndexMetadata setUnique(boolean flag)
Specified by:
setUnique in interface javax.jdo.metadata.IndexMetadata


Copyright © 2010. All Rights Reserved.