org.compass.core.mapping.osem
Class ClassPropertyMapping.ManagedId

java.lang.Object
  extended by org.compass.core.util.Parameter
      extended by org.compass.core.mapping.osem.ClassPropertyMapping.ManagedId
All Implemented Interfaces:
Serializable
Enclosing class:
ClassPropertyMapping

public static final class ClassPropertyMapping.ManagedId
extends Parameter

See Also:
Serialized Form

Field Summary
static ClassPropertyMapping.ManagedId AUTO
          The meta-data (resource-property) that will act as the id will be computed automatically.
static ClassPropertyMapping.ManagedId FALSE
          The class property will not have an internal managed id, the meta-data that will be used as an id will be the first one.
static ClassPropertyMapping.ManagedId NO
          The class property will not have any internal meta-data id, causing it not to be unmarshalled at all.
static ClassPropertyMapping.ManagedId NO_STORE
          The class proeprty will not create an internal managed id if all its meta data mappings have store=no
static ClassPropertyMapping.ManagedId TRUE
          The class property will always have an internal managed id that will be created.
 
Method Summary
static ClassPropertyMapping.ManagedId fromString(String managedId)
           
static String toString(ClassPropertyMapping.ManagedId managedId)
           
 
Methods inherited from class org.compass.core.util.Parameter
readResolve, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AUTO

public static final ClassPropertyMapping.ManagedId AUTO
The meta-data (resource-property) that will act as the id will be computed automatically.


TRUE

public static final ClassPropertyMapping.ManagedId TRUE
The class property will always have an internal managed id that will be created.


FALSE

public static final ClassPropertyMapping.ManagedId FALSE
The class property will not have an internal managed id, the meta-data that will be used as an id will be the first one.


NO_STORE

public static final ClassPropertyMapping.ManagedId NO_STORE
The class proeprty will not create an internal managed id if all its meta data mappings have store=no


NO

public static final ClassPropertyMapping.ManagedId NO
The class property will not have any internal meta-data id, causing it not to be unmarshalled at all.

Method Detail

toString

public static String toString(ClassPropertyMapping.ManagedId managedId)

fromString

public static ClassPropertyMapping.ManagedId fromString(String managedId)


Copyright (c) 2004-2008 The Compass Project.