org.datanucleus.jdo.metadata
Class UniqueMetadataImpl

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

public class UniqueMetadataImpl
extends AbstractMetadataImpl
implements javax.jdo.metadata.UniqueMetadata

Implementation of JDO UniqueMetadata object.


Constructor Summary
UniqueMetadataImpl(UniqueMetaData internal)
           
 
Method Summary
 javax.jdo.metadata.ColumnMetadata[] getColumns()
           
 java.lang.Boolean getDeferred()
           
 UniqueMetaData getInternal()
           
 javax.jdo.metadata.MemberMetadata[] getMembers()
           
 java.lang.String getName()
           
 int getNumberOfColumns()
           
 int getNumberOfMembers()
           
 java.lang.String getTable()
           
 javax.jdo.metadata.ColumnMetadata newColumnMetadata()
           
 javax.jdo.metadata.FieldMetadata newFieldMetadata(java.lang.String name)
           
 javax.jdo.metadata.PropertyMetadata newPropertyMetadata(java.lang.String name)
           
 javax.jdo.metadata.UniqueMetadata setDeferred(boolean flag)
           
 javax.jdo.metadata.UniqueMetadata setName(java.lang.String name)
           
 javax.jdo.metadata.UniqueMetadata setTable(java.lang.String name)
           
 
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

UniqueMetadataImpl

public UniqueMetadataImpl(UniqueMetaData internal)
Method Detail

getInternal

public UniqueMetaData getInternal()

getColumns

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

getDeferred

public java.lang.Boolean getDeferred()
Specified by:
getDeferred in interface javax.jdo.metadata.UniqueMetadata

getMembers

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

getName

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

getNumberOfColumns

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

getNumberOfMembers

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

getTable

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

newColumnMetadata

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

newFieldMetadata

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

newPropertyMetadata

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

setDeferred

public javax.jdo.metadata.UniqueMetadata setDeferred(boolean flag)
Specified by:
setDeferred in interface javax.jdo.metadata.UniqueMetadata

setName

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

setTable

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


Copyright © 2010. All Rights Reserved.