public class SDOSetting extends java.lang.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:
sequence
object.SDOChangeSummary
,
XMLSetting
Constructor and Description |
---|
SDOSetting() |
SDOSetting(Property aProperty,
java.lang.Object aValue) |
Modifier and Type | Method and Description |
---|---|
XMLMapping |
getMapping() |
SDOProperty |
getProperty()
Returns the property of the setting.
|
java.lang.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(java.lang.Object object)
INTERNAL:
Set the value of this setting.
|
java.lang.String |
toString()
INTERNAL:
Print out a String representation of this object
|
public SDOSetting()
public SDOSetting(Property aProperty, java.lang.Object aValue)
public XMLMapping getMapping()
getMapping
in interface org.eclipse.persistence.internal.oxm.XMLSetting
public SDOProperty getProperty()
getProperty
in interface ChangeSummary.Setting
public void setProperty(Property property)
property
- The property to set on this setting.public java.lang.Object getValue()
getValue
in interface ChangeSummary.Setting
getValue
in interface org.eclipse.persistence.internal.oxm.XMLSetting
public void setValue(java.lang.Object object)
object
- The value to set on this setting.public boolean isSet()
isSet
in interface ChangeSummary.Setting
true
if the property is set.public void setIsSet(boolean isSet)
isSet
- If the value is set on this Setting.public java.lang.String toString()
toString
in class java.lang.Object