com.spss.psapi.core

Interface StructuredValue



  • public interface StructuredValue
    This interface defines a structured value. A structured value consists of a number of simple attributes.
    Since:
    PSAPI 12.0
    Version:
    1.0
    Author:
    Julian Clinton
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      StructuredValue changeAttributeValue(int index, java.lang.Object value)
      Returns a new structured value with the attribute value at the specified index changed to the new value.
      int getAttributeCount()
      Returns the number of attribute values in the structure.
      java.lang.Object getAttributeValue(int index)
      Returns the attribute value at the specified index.
    • Method Detail

      • getAttributeCount

        int getAttributeCount()
        Returns the number of attribute values in the structure.
        Returns:
        the number of attribute values in the structure
      • getAttributeValue

        java.lang.Object getAttributeValue(int index)
        Returns the attribute value at the specified index.
        Parameters:
        index - the index
        Returns:
        the attribute value at the specified index
        See Also:
        getAttributeCount(), changeAttributeValue(int, Object)
      • changeAttributeValue

        StructuredValue changeAttributeValue(int index,
                                           java.lang.Object value)
        Returns a new structured value with the attribute value at the specified index changed to the new value. An attribute value cannot be null -- if the supplied value is null, it will be ignored.
        Parameters:
        index - the index
        value - the new value
        See Also:
        getAttributeCount(), getAttributeValue(int)

Copyright © 2014 Integral Solutions Ltd. All Rights Reserved.