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.StringgetName()Return the name of the component info.intgetNumberOfSubComponents()Returns the number of sub-components.java.util.Map<java.lang.String,java.lang.Object>getPropertyValues()Return the property values of this component.ComponentInfogetSubComponent(int index)Returns information about sub-component.
-
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
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
Mapholding key/value pairs. The key is aStringthat gives the property name, and the value is anObjectholding the value of the property.
-