be.SIRAPRISE.client
Class ClientTuple

java.lang.Object
  extended by be.SIRAPRISE.client.AbstractTuple
      extended by be.SIRAPRISE.client.ClientTuple
All Implemented Interfaces:
Tuple

public class ClientTuple
extends AbstractTuple

Author:
Erwin Smout

Constructor Summary
ClientTuple(IntersectableMap<java.lang.String,?> attributeValueMap, Heading heading)
          Creates the tuple
 
Method Summary
 java.lang.String escapedValue(java.lang.String attributeName)
          Gets The attribute value for the named attribute
 AbstractRelation rvaValue(java.lang.String attributeName)
          Gets The attribute value for a relation-valued attribute, as a Relation object
 java.lang.String value(java.lang.String attributeName)
          Gets The attribute value for the named attribute
 IntersectableMap<?,?> values()
          Gets the map of attribute values
 
Methods inherited from class be.SIRAPRISE.client.AbstractTuple
getHeading, printBodyValueWithoutPossrepNames, printBodyValueWithoutTypeNames, printBodyValueWithTypeNames, printBodyValueXML, printEscapedBodyValueWithoutPossrepNames, printEscapedBodyValueWithoutTypeNames, printEscapedBodyValueWithTypeNames, printEscapedValueWithoutPossrepNames, printValueEscapedWithoutTypeNames, printValueEscapedWithTypeNames, printValueWithoutPossrepNames, printValueWithoutTypeNames, printValueWithTypeNames, printValueXML, toObject, toObjects, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClientTuple

public ClientTuple(IntersectableMap<java.lang.String,?> attributeValueMap,
                   Heading heading)
Creates the tuple

Parameters:
attributeValueMap -
heading -
Method Detail

escapedValue

public java.lang.String escapedValue(java.lang.String attributeName)
Description copied from class: AbstractTuple
Gets The attribute value for the named attribute

Specified by:
escapedValue in interface Tuple
Specified by:
escapedValue in class AbstractTuple
Parameters:
attributeName - The name of the attribute whose value is to be obtained
Returns:
The attribute value including the SIRA_PRISE escape sequences

rvaValue

public AbstractRelation rvaValue(java.lang.String attributeName)
Description copied from interface: Tuple
Gets The attribute value for a relation-valued attribute, as a Relation object

Parameters:
attributeName - The name of the attribute whose value is to be obtained. This attribute must be declared nonscalar in the heading.
Returns:
The attribute value

value

public java.lang.String value(java.lang.String attributeName)
Description copied from interface: Tuple
Gets The attribute value for the named attribute

Specified by:
value in interface Tuple
Specified by:
value in class AbstractTuple
Parameters:
attributeName - The name of the attribute whose value is to be obtained
Returns:
The attribute value with SIRA_PRISE escape sequences removed

values

public IntersectableMap<?,?> values()
Description copied from interface: Tuple
Gets the map of attribute values

Specified by:
values in interface Tuple
Specified by:
values in class AbstractTuple
Returns:
the map of attribute values