org.datanucleus.store.mapped.scostore
Class ElementContainerStore.ElementInfo

java.lang.Object
  extended by org.datanucleus.store.mapped.scostore.ElementContainerStore.ElementInfo
Enclosing class:
ElementContainerStore

public class ElementContainerStore.ElementInfo
extends java.lang.Object

Inner class wrapping the information required for a valid element type.


Constructor Summary
ElementContainerStore.ElementInfo(AbstractClassMetaData cmd, DatastoreClass table)
          Constructor
 
Method Summary
 AbstractClassMetaData getAbstractClassMetaData()
          Accessor for the AbstractClassMetaData
 java.lang.String getClassName()
          Accessor for the class name
 DatastoreClass getDatastoreClass()
          Accessor for the table of the element
 JavaTypeMapping getDiscriminatorMapping()
          Accessor the discriminator mapping of the element (in its table)
 DiscriminatorStrategy getDiscriminatorStrategy()
          Accessor the discriminator strategy of the element
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementContainerStore.ElementInfo

public ElementContainerStore.ElementInfo(AbstractClassMetaData cmd,
                                         DatastoreClass table)
Constructor

Parameters:
cmd - the AbstractClassMetaData
table - the DatastoreClass
Method Detail

getClassName

public java.lang.String getClassName()
Accessor for the class name

Returns:
the class name

getAbstractClassMetaData

public AbstractClassMetaData getAbstractClassMetaData()
Accessor for the AbstractClassMetaData

Returns:
the AbstractClassMetaData

getDatastoreClass

public DatastoreClass getDatastoreClass()
Accessor for the table of the element

Returns:
the DatastoreClass

getDiscriminatorStrategy

public DiscriminatorStrategy getDiscriminatorStrategy()
Accessor the discriminator strategy of the element

Returns:
the strategy for the discriminator

getDiscriminatorMapping

public JavaTypeMapping getDiscriminatorMapping()
Accessor the discriminator mapping of the element (in its table)

Returns:
the JavaTypeMapping for the discriminator


Copyright © 2010. All Rights Reserved.