Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


org.eclipse.persistence.sdo
Class SDOSetting

java.lang.Object
  extended by org.eclipse.persistence.sdo.SDOSetting

All Implemented Interfaces:
org.eclipse.persistence.internal.oxm.XMLSetting

public class SDOSetting
extends java.lang.Object
implements 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:

Since:
Oracle TopLink 11.1.1.0.0
See Also:
SDOChangeSummary, XMLSetting

Field Summary
private  boolean isSet
           
private  SDOProperty property
           
private  java.lang.Object value
           

 

Constructor Summary
SDOSetting()
           
SDOSetting(Property aProperty, java.lang.Object aValue)
           

 

Method Summary
 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

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

property

private SDOProperty property

value

private java.lang.Object value

isSet

private boolean isSet

Constructor Detail

SDOSetting

public SDOSetting()

SDOSetting

public SDOSetting(Property aProperty,
                  java.lang.Object aValue)

Method Detail

getMapping

public XMLMapping getMapping()
Specified by:
getMapping in interface org.eclipse.persistence.internal.oxm.XMLSetting
Returns:
The TopLink OXM mapping associated with this setting

getProperty

public SDOProperty getProperty()
Returns the property of the 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 java.lang.Object getValue()
Returns the value of the setting.
Specified by:
getValue in interface org.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.
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

public java.lang.String toString()
INTERNAL: Print out a String representation of this object
Overrides:
toString in class java.lang.Object

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.