Package org.eclipse.persistence.sdo
Class SDOSetting
- java.lang.Object
-
- org.eclipse.persistence.sdo.SDOSetting
-
- All Implemented Interfaces:
ChangeSummary.Setting
,org.eclipse.persistence.internal.oxm.XMLSetting
public class SDOSetting extends Object implements ChangeSummary.Setting, org.eclipse.persistence.internal.oxm.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.
- See Also:
SDOChangeSummary
,XMLSetting
- Since:
- Oracle TopLink 11.1.1.0.0
-
-
Constructor Summary
Constructors Constructor Description SDOSetting()
SDOSetting(Property aProperty, Object aValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XMLMapping
getMapping()
SDOProperty
getProperty()
Returns the property of the setting.Object
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
setValue(Object object)
INTERNAL: Set the value of this setting.String
toString()
INTERNAL: Print out a String representation of this object
-
-
-
Method Detail
-
getMapping
public XMLMapping getMapping()
- Specified by:
getMapping
in interfaceorg.eclipse.persistence.internal.oxm.XMLSetting
- Returns:
- The TopLink OXM mapping associated with this setting
-
getProperty
public SDOProperty getProperty()
Returns the property of the setting.- Specified by:
getProperty
in interfaceChangeSummary.Setting
- Returns:
- the setting property.
-
setProperty
public void setProperty(Property property)
INTERNAL: Set the property of this setting.- Parameters:
property
- The property to set on this setting.
-
getValue
public Object getValue()
Returns the value of the setting.- Specified by:
getValue
in interfaceChangeSummary.Setting
- Specified by:
getValue
in interfaceorg.eclipse.persistence.internal.oxm.XMLSetting
- Returns:
- the setting value.
-
setValue
public void setValue(Object object)
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.
-
-