Class ComponentInfo

java.lang.Object
tech.oxfordsemantic.jrdfox.client.ComponentInfo

public class ComponentInfo
extends java.lang.Object
Encapsulates information about a component of the data store.
  • Constructor Summary

    Constructors 
    Constructor Description
    ComponentInfo​(java.lang.String name, java.util.Map<java.lang.String,​java.lang.Object> values, ComponentInfo[] subComponents)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getName()
    Return the name of the component info.
    int getNumberOfSubComponents()
    Returns the number of sub-components.
    java.util.Map<java.lang.String,​java.lang.Object> getPropertyValues()
    Return the property values of this component.
    ComponentInfo getSubComponent​(int index)
    Returns information about sub-component.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ComponentInfo

      public ComponentInfo​(java.lang.String name, java.util.Map<java.lang.String,​java.lang.Object> values, ComponentInfo[] subComponents)
  • Method Details

    • getName

      public java.lang.String getName()
      Return the name of the component info.
      Returns:
      the name of this component info.
    • getNumberOfSubComponents

      public int getNumberOfSubComponents()
      Returns the number of sub-components.
      Returns:
      the number of sub-components.
    • getSubComponent

      public ComponentInfo getSubComponent​(int index)
      Returns information about sub-component.
      Parameters:
      index - the zero-based index of the sub-component to access.
      Returns:
      the sub-component information.
    • getPropertyValues

      public java.util.Map<java.lang.String,​java.lang.Object> getPropertyValues()
      Return the property values of this component.
      Returns:
      a Map holding key/value pairs. The key is a String that gives the property name, and the value is an Object holding the value of the property.