org.kuali.rice.krad.data
Class PersistenceOption

java.lang.Object
  extended by org.kuali.rice.krad.data.PersistenceOption
All Implemented Interfaces:
Serializable

public class PersistenceOption
extends Object
implements Serializable

PersistenceOption is used when saving through the data object service to configure how the data will be stored.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
static PersistenceOption FLUSH
          Used to synchronize the data object with the database.
static PersistenceOption LINK_KEYS
          Used to link references and synchronize foreign keys in the data object.
 
Constructor Summary
PersistenceOption(String optionId)
          Sets the option Id
 
Method Summary
 String getOptionId()
          Gets the option id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LINK_KEYS

public static PersistenceOption LINK_KEYS
Used to link references and synchronize foreign keys in the data object.


FLUSH

public static PersistenceOption FLUSH
Used to synchronize the data object with the database.

Constructor Detail

PersistenceOption

public PersistenceOption(String optionId)
Sets the option Id

Parameters:
optionId - cannot be null or blank.
Method Detail

getOptionId

public String getOptionId()
Gets the option id.

Returns:
not null or blank.


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.