Package org.eclipse.persistence.sdo
Class SDOSetting
- java.lang.Object
-
- org.eclipse.persistence.sdo.SDOSetting
-
- All Implemented Interfaces:
commonj.sdo.ChangeSummary.Setting,org.eclipse.persistence.internal.oxm.XMLSetting
public class SDOSetting extends java.lang.Object implements commonj.sdo.ChangeSummary.Setting, org.eclipse.persistence.internal.oxm.XMLSettingPurpose: 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
sequenceobject.
- Since:
- Oracle TopLink 11.1.1.0.0
- See Also:
SDOChangeSummary,XMLSetting
-
-
Constructor Summary
Constructors Constructor Description SDOSetting()SDOSetting(commonj.sdo.Property aProperty, java.lang.Object aValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.persistence.oxm.mappings.XMLMappinggetMapping()SDOPropertygetProperty()Returns the property of the setting.java.lang.ObjectgetValue()Returns the value of the setting.booleanisSet()Returns whether or not the property is set.voidsetIsSet(boolean isSet)INTERNAL: Set if the value of this setting is set.voidsetProperty(commonj.sdo.Property property)INTERNAL: Set the property of this setting.voidsetValue(java.lang.Object object)INTERNAL: Set the value of this setting.java.lang.StringtoString()INTERNAL: Print out a String representation of this object
-
-
-
Method Detail
-
getMapping
public org.eclipse.persistence.oxm.mappings.XMLMapping getMapping()
- Specified by:
getMappingin 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:
getPropertyin interfacecommonj.sdo.ChangeSummary.Setting- Returns:
- the setting property.
-
setProperty
public void setProperty(commonj.sdo.Property property)
INTERNAL: Set the property of this setting.- Parameters:
property- The property to set on this setting.
-
getValue
public java.lang.Object getValue()
Returns the value of the setting.- Specified by:
getValuein interfacecommonj.sdo.ChangeSummary.Setting- Specified by:
getValuein interfaceorg.eclipse.persistence.internal.oxm.XMLSetting- Returns:
- the setting value.
-
setValue
public void setValue(java.lang.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:
isSetin interfacecommonj.sdo.ChangeSummary.Setting- Returns:
trueif 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
public java.lang.String toString()
INTERNAL: Print out a String representation of this object- Overrides:
toStringin classjava.lang.Object
-
-