org.example.azapi
Interface AzAttributeValueDouble

All Superinterfaces:
AzAttributeValue<AzDataTypeIdDouble,java.lang.Double>

public interface AzAttributeValueDouble
extends AzAttributeValue<AzDataTypeIdDouble,java.lang.Double>

AzAttributeValueDouble contains a Java Double object that may be used to generate the XACML #double DataType.
Basically, the xs:double data type:

   http://www.w3.org/TR/xmlschema-2/#double
 
is a double precision floating point number. Therefore, Java Double is the corresponding class best matching this requirement.

Author:
Rich

Method Summary
 java.lang.Double getValue()
          Return the Java Double object that is used by this AzAttributeValueDouble object to represent the XACML #double DataType
 void setValue(java.lang.Double dDouble)
          Set the value of this AzAttributeValueDouble object with a Java Double object that can generate the string that can be used for the value of a XACML #double DataType.
 java.lang.String toXacmlString()
          Return the Java Double that can be used as the XACML #double DataType representation of the Java Double object contained in this AzAttributeValueDouble object.
 
Methods inherited from interface org.example.azapi.AzAttributeValue
getType, validate
 

Method Detail

setValue

void setValue(java.lang.Double dDouble)
Set the value of this AzAttributeValueDouble object with a Java Double object that can generate the string that can be used for the value of a XACML #double DataType.

Specified by:
setValue in interface AzAttributeValue<AzDataTypeIdDouble,java.lang.Double>
Parameters:
dDouble - that can be used to generate XACML #double DataType

getValue

java.lang.Double getValue()
Return the Java Double object that is used by this AzAttributeValueDouble object to represent the XACML #double DataType

Specified by:
getValue in interface AzAttributeValue<AzDataTypeIdDouble,java.lang.Double>
Returns:
a Java Double object that corresponds to the XACML #double DataType

toXacmlString

java.lang.String toXacmlString()
Return the Java Double that can be used as the XACML #double DataType representation of the Java Double object contained in this AzAttributeValueDouble object.

Specified by:
toXacmlString in interface AzAttributeValue<AzDataTypeIdDouble,java.lang.Double>
Returns:
a string that can be used as XACML #double DataType content