org.openmdx.compatibility.base.dataprovider.layer.model
Class LayerConfigurationEntries

java.lang.Object
  extended by org.openmdx.compatibility.base.dataprovider.cci.SharedConfigurationEntries
      extended by org.openmdx.compatibility.base.dataprovider.layer.model.LayerConfigurationEntries

public class LayerConfigurationEntries
extends SharedConfigurationEntries

The ModelLayerConfigurationEntries class contains constants identifying the dataprovider configuration entries.


Field Summary
static String COMPATIBILITY_DISABLE_HISTORY_REFERENCE_PATTERN
          Deprecated. use DISABLE_HISTORY_REFERENCE_PATTERN instead
static String DISABLE_HISTORY_REFERENCE_PATTERN
          Use this setting to disable history states for the specified references.
static String ENABLE_HOLES_IN_OBJECT_VALIDITY
          Use this setting to set if holes in the validity of the objects are allowed.
static String NOTIFY_PRE_DELETE
          If true, calls notifyPreDelete() before an object is removed.
static String PRINCIPAL_LIMIT
          Use this setting to define the maximum length for createdBy's and modifiedBy's principal chains.
static String ROLE_TYPE_MAPPING_REAL_CLASS
          The class of the real role type at this path.
static String ROLE_TYPE_MAPPING_REAL_PATH
          Path to real role types.
static String ROLE_TYPE_MAPPING_VIRTUAL_CLASS
          The class of the virtual role type at this path.
static String ROLE_TYPE_MAPPING_VIRTUAL_REFERENCE_PATH
          Reference path to virtual role types.
static String THROW_WARNING
          Tells whether warnings should be propagated to the client
 
Fields inherited from class org.openmdx.compatibility.base.dataprovider.cci.SharedConfigurationEntries
BATCH_SIZE, BYPASSED_BY_LENIENT_REQUESTS, COMPRESS_UID, DATABASE_CONNECTION_FACTORY, DATAPROVIDER_CONNECTION, DELEGATION_PATH, EXPOSED_PATH, LAYER_STATISTICS, MODEL, MODEL_PACKAGE, NAMESPACE_ID, PACKAGE_IMPL, SEQUENCE_SUPPORTED, SERVER_ID, THIS_DATAPROVIDER, WORK_AROUND_SUN_APPLICATION_SERVER_BINDINGS, XML_DATATYPES
 
Constructor Summary
protected LayerConfigurationEntries()
           
 
Method Summary
static int fromString(String code)
          Returns the code of the passed code's string representation.
static int max()
          Returns the biggest defined integer constant or Integer.MIN_VALUE if no integer constant is defined.
static int min()
          Returns the smallest defined integer constant or Integer.MAX_VALUE if no integer constant is defined.
static String toString(int code)
          Returns a string representation of the passed code
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROLE_TYPE_MAPPING_REAL_PATH

public static final String ROLE_TYPE_MAPPING_REAL_PATH
Path to real role types. (Where they are stored on db)

See Also:
Constant Field Values

ROLE_TYPE_MAPPING_VIRTUAL_REFERENCE_PATH

public static final String ROLE_TYPE_MAPPING_VIRTUAL_REFERENCE_PATH
Reference path to virtual role types. (The ones which get mapped to the ones above)

See Also:
Constant Field Values

ROLE_TYPE_MAPPING_REAL_CLASS

public static final String ROLE_TYPE_MAPPING_REAL_CLASS
The class of the real role type at this path.

See Also:
Constant Field Values

ROLE_TYPE_MAPPING_VIRTUAL_CLASS

public static final String ROLE_TYPE_MAPPING_VIRTUAL_CLASS
The class of the virtual role type at this path.

See Also:
Constant Field Values

ENABLE_HOLES_IN_OBJECT_VALIDITY

public static final String ENABLE_HOLES_IN_OBJECT_VALIDITY
Use this setting to set if holes in the validity of the objects are allowed. Default is true.

See Also:
Constant Field Values

COMPATIBILITY_DISABLE_HISTORY_REFERENCE_PATTERN

public static final String COMPATIBILITY_DISABLE_HISTORY_REFERENCE_PATTERN
Deprecated. use DISABLE_HISTORY_REFERENCE_PATTERN instead
See Also:
Constant Field Values

DISABLE_HISTORY_REFERENCE_PATTERN

public static final String DISABLE_HISTORY_REFERENCE_PATTERN
Use this setting to disable history states for the specified references.

See Also:
Constant Field Values

PRINCIPAL_LIMIT

public static final String PRINCIPAL_LIMIT
Use this setting to define the maximum length for createdBy's and modifiedBy's principal chains.

See Also:
Constant Field Values

THROW_WARNING

public static final String THROW_WARNING
Tells whether warnings should be propagated to the client

See Also:
Constant Field Values

NOTIFY_PRE_DELETE

public static final String NOTIFY_PRE_DELETE
If true, calls notifyPreDelete() before an object is removed. notifiyPreDelete() is called for the removed object and recursively for each of its composite objects.

See Also:
Constant Field Values
Constructor Detail

LayerConfigurationEntries

protected LayerConfigurationEntries()
Method Detail

min

public static int min()
Returns the smallest defined integer constant or Integer.MAX_VALUE if no integer constant is defined.

Returns:
an int

max

public static int max()
Returns the biggest defined integer constant or Integer.MIN_VALUE if no integer constant is defined.

Returns:
an int

toString

public static String toString(int code)
Returns a string representation of the passed code

Parameters:
code - a code to be stringified
Returns:
a stringified code

fromString

public static int fromString(String code)
Returns the code of the passed code's string representation. The string representation is case insensitive.

Parameters:
code - a stringified code
Returns:
a code
Throws:
throws - an IllegalArgumentException if the stringified code cannot be resolved


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.