EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.jaxb.xmlmodel
Class XmlAbstractNullPolicy

java.lang.Object
  extended by org.eclipse.persistence.jaxb.xmlmodel.XmlAbstractNullPolicy
Direct Known Subclasses:
XmlIsSetNullPolicy, XmlNullPolicy

public abstract class XmlAbstractNullPolicy
extends java.lang.Object

Java class for xml-abstract-null-policy complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="xml-abstract-null-policy">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="xsi-nil-represents-null" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="empty-node-represents-null" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="null-representation-for-xml" type="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-marshal-null-representation" default="ABSENT_NODE" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.Boolean emptyNodeRepresentsNull
           
protected  XmlMarshalNullRepresentation nullRepresentationForXml
           
protected  java.lang.Boolean xsiNilRepresentsNull
           
 
Constructor Summary
XmlAbstractNullPolicy()
           
 
Method Summary
 XmlMarshalNullRepresentation getNullRepresentationForXml()
          Gets the value of the nullRepresentationForXml property.
 boolean isEmptyNodeRepresentsNull()
          Gets the value of the emptyNodeRepresentsNull property.
 boolean isXsiNilRepresentsNull()
          Gets the value of the xsiNilRepresentsNull property.
 void setEmptyNodeRepresentsNull(java.lang.Boolean value)
          Sets the value of the emptyNodeRepresentsNull property.
 void setNullRepresentationForXml(XmlMarshalNullRepresentation value)
          Sets the value of the nullRepresentationForXml property.
 void setXsiNilRepresentsNull(java.lang.Boolean value)
          Sets the value of the xsiNilRepresentsNull property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xsiNilRepresentsNull

protected java.lang.Boolean xsiNilRepresentsNull

emptyNodeRepresentsNull

protected java.lang.Boolean emptyNodeRepresentsNull

nullRepresentationForXml

protected XmlMarshalNullRepresentation nullRepresentationForXml
Constructor Detail

XmlAbstractNullPolicy

public XmlAbstractNullPolicy()
Method Detail

isXsiNilRepresentsNull

public boolean isXsiNilRepresentsNull()
Gets the value of the xsiNilRepresentsNull property.

Returns:
possible object is Boolean

setXsiNilRepresentsNull

public void setXsiNilRepresentsNull(java.lang.Boolean value)
Sets the value of the xsiNilRepresentsNull property.

Parameters:
value - allowed object is Boolean

isEmptyNodeRepresentsNull

public boolean isEmptyNodeRepresentsNull()
Gets the value of the emptyNodeRepresentsNull property.

Returns:
possible object is Boolean

setEmptyNodeRepresentsNull

public void setEmptyNodeRepresentsNull(java.lang.Boolean value)
Sets the value of the emptyNodeRepresentsNull property.

Parameters:
value - allowed object is Boolean

getNullRepresentationForXml

public XmlMarshalNullRepresentation getNullRepresentationForXml()
Gets the value of the nullRepresentationForXml property.

Returns:
possible object is XmlMarshalNullRepresentation

setNullRepresentationForXml

public void setNullRepresentationForXml(XmlMarshalNullRepresentation value)
Sets the value of the nullRepresentationForXml property.

Parameters:
value - allowed object is XmlMarshalNullRepresentation

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference