org.example.azapi
Interface AzAttributeValueInteger

All Superinterfaces:
AzAttributeValue<AzDataTypeIdInteger,java.lang.Long>

public interface AzAttributeValueInteger
extends AzAttributeValue<AzDataTypeIdInteger,java.lang.Long>

AzAttributeValueInteger contains a Java Long object that may be used to generate the XACML #integer DataType.
Basically, the xs:integer data type:

   http://www.w3.org/TR/xmlschema-2/#integer
 
is an integer that runs from minus to plus infinity. Therefore, to best approximate this impossible objective, the largest Java integer, long, is chosen to provide the capability.

Author:
Rich

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

Method Detail

setValue

void setValue(java.lang.Long intLong)
Set the value of this AzAttributeValueInteger object with a Java Long object that can generate the string that can be used for the value of a XACML #integer DataType.

Specified by:
setValue in interface AzAttributeValue<AzDataTypeIdInteger,java.lang.Long>
Parameters:
intLong - that can be used to generate XACML #integer DataType

getValue

java.lang.Long getValue()
Return the Java Long object that is used by this AzAttributeValueInteger object to represent the XACML #integer DataType

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

toXacmlString

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

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