public class MaterializeOption extends Object implements Serializable
DataObjectWrapper.materializeReferencedObjects(MaterializeOption...)
method to adjust the behavior of the
method.
See the constants defined within the class for the available options and descriptions.Modifier and Type | Field and Description |
---|---|
static MaterializeOption |
COLLECTIONS
Specify that only collections should be materialized.
|
static MaterializeOption |
INCLUDE_EAGER_REFS
Specify that non-lazy-loaded references should also be reloaded from the persistence provider.
|
static MaterializeOption |
NULL_INVALID_REFS
If this option is set, when the foreign key fields do not point to a saved object (per the persistence provider),
the object reference will be nulled out.
|
static MaterializeOption |
REFERENCES
Specify that only references should be materialized.
|
static MaterializeOption |
UPDATE_UPDATABLE_REFS
Specify that references and/or collections which are saved when the wrapped object is saved should also be
refreshed.
|
Constructor and Description |
---|
MaterializeOption(String optionId)
Sets the option Id
|
public static MaterializeOption REFERENCES
public static MaterializeOption COLLECTIONS
public static MaterializeOption UPDATE_UPDATABLE_REFS
public static MaterializeOption NULL_INVALID_REFS
public static MaterializeOption INCLUDE_EAGER_REFS
public MaterializeOption(String optionId)
optionId
- cannot be null or blank.Copyright © 2005–2015 The Kuali Foundation. All rights reserved.