org.jpox.store.mapping
Class AbstractMappingManager.TypeMapping

java.lang.Object
  extended byorg.jpox.store.mapping.AbstractMappingManager.TypeMapping
Enclosing class:
AbstractMappingManager

protected class AbstractMappingManager.TypeMapping
extends java.lang.Object


Constructor Summary
AbstractMappingManager.TypeMapping(java.lang.Class javaMappingType, boolean isDefault)
          Constructor
 
Method Summary
 java.lang.Class getMappingType()
           
 boolean isDefault()
           
 void setDefault(boolean isDefault)
          Mutator for whether this is the default datastore mapping for the mapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractMappingManager.TypeMapping

public AbstractMappingManager.TypeMapping(java.lang.Class javaMappingType,
                                          boolean isDefault)
Constructor

Parameters:
javaMappingType - Mapping type to use for thie java type
isDefault - Whether it is the default mapping for this java type
Method Detail

isDefault

public boolean isDefault()
Returns:
Returns the isDefault.

setDefault

public void setDefault(boolean isDefault)
Mutator for whether this is the default datastore mapping for the mapping

Parameters:
isDefault - Whether it is the default.

getMappingType

public java.lang.Class getMappingType()
Returns:
Returns the mappingType.


Copyright © -2007 . All Rights Reserved.