Class IsSetNullPolicy


  • public class IsSetNullPolicy
    extends AbstractNullPolicy
    PUBLIC: Description: This null policy allows for various configurations of isSet behavior to be set.
    Marshal:
    The boolean value of the isSet() state of a node will determine whether a node will be written out for a null value. Unmarshal:

    The following instance fields can be set:

    • isSetMethodName:
    • isSetParameterTypes:
    • isSetParameters:

     Usage:

    • Set to a non-null value
      IsSet==true, value=value
    • Not set
      isSet=false, value=null
    • Set to null value
      isSet=true, value=null
    • Set to default value
      isSet=false, value=default
    Since:
    Oracle TopLink 11g Release 1 (11.1.1)
    See Also:
    NullCapableValue
    • Constructor Detail

      • IsSetNullPolicy

        public IsSetNullPolicy()
        Default Constructor Set the IsSetPerformedForAbsentNode to false to enable the other 2 flags isNullRepresentedByEmptyNode and isNullRepresentedByXsiNil
      • IsSetNullPolicy

        public IsSetNullPolicy​(java.lang.String anIsSetMethodName)
        Specific Constructor to set the name for checking the isSet state of the mapping
        Parameters:
        anIsSetMethodName -
      • IsSetNullPolicy

        public IsSetNullPolicy​(java.lang.String anIsSetMethodName,
                               boolean bIsNullRepresentedByEmptyNode,
                               boolean bIsNullRepresentedByXsiNil,
                               XMLNullRepresentationType aMarshalNullRepresentation)
        Specific Constructor to set both the Marshal enum and the Unmarshal flags.
        Parameters:
        anIsSetMethodName -
        bIsNullRepresentedByEmptyNode -
        bIsNullRepresentedByXsiNil -
        aMarshalNullRepresentation -
    • Method Detail

      • getIsSetMethodName

        public java.lang.String getIsSetMethodName()
        Returns:
      • setIsSetMethodName

        public void setIsSetMethodName​(java.lang.String anIsSetMethodName)
        Parameters:
        anIsSetMethodName -
      • getIsSetParameterTypes

        public java.lang.Class[] getIsSetParameterTypes()
        Returns:
      • setIsSetParameterTypes

        public void setIsSetParameterTypes​(java.lang.Class[] parameterTypes)
        Parameters:
        parameterTypes -
      • getIsSetParameters

        public java.lang.Object[] getIsSetParameters()
        Returns:
      • setIsSetParameters

        public void setIsSetParameters​(java.lang.Object[] parameters)
        Parameters:
        parameters -