java.lang.Object
org.eclipse.persistence.sdo.SDOSetting
- All Implemented Interfaces:
ChangeSummary.Setting
,XMLSetting
Purpose: A setting encapsulates a Property and a corresponding single value of the property's type.
As a Setting used by a Sequence object, this class Implements the XMLSetting interface and provides a container for a Property/Value pair as part of the sequence.
Responsibilities:
- Provide get/set access to the property and value instance variables of a
sequence
object.
- Since:
- Oracle TopLink 11.1.1.0.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the property of the setting.getValue()
Returns the value of the setting.boolean
isSet()
Returns whether or not the property is set.void
setIsSet
(boolean isSet) INTERNAL: Set if the value of this setting is set.void
setProperty
(Property property) INTERNAL: Set the property of this setting.void
INTERNAL: Set the value of this setting.toString()
INTERNAL: Print out a String representation of this object
-
Constructor Details
-
SDOSetting
public SDOSetting() -
SDOSetting
-
-
Method Details
-
getMapping
- Specified by:
getMapping
in interfaceXMLSetting
- Returns:
- The TopLink OXM mapping associated with this setting
-
getProperty
Returns the property of the setting.- Specified by:
getProperty
in interfaceChangeSummary.Setting
- Returns:
- the setting property.
-
setProperty
INTERNAL: Set the property of this setting.- Parameters:
property
- The property to set on this setting.
-
getValue
Returns the value of the setting.- Specified by:
getValue
in interfaceChangeSummary.Setting
- Specified by:
getValue
in interfaceXMLSetting
- Returns:
- the setting value.
-
setValue
INTERNAL: Set the value of this setting.- Parameters:
object
- The value to set on this setting.
-
isSet
public boolean isSet()Returns whether or not the property is set.- Specified by:
isSet
in interfaceChangeSummary.Setting
- Returns:
true
if the property is set.
-
setIsSet
public void setIsSet(boolean isSet) INTERNAL: Set if the value of this setting is set.- Parameters:
isSet
- If the value is set on this Setting.
-
toString
INTERNAL: Print out a String representation of this object
-