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 SummaryConstructors Constructor Description ComponentInfo(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> values, ComponentInfo[] subComponents)
- 
Method SummaryModifier 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- 
ComponentInfopublic ComponentInfo(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> values, ComponentInfo[] subComponents)
 
- 
- 
Method Details- 
getNamepublic java.lang.String getName()Return the name of the component info.- Returns:
- the name of this component info.
 
- 
getNumberOfSubComponentspublic int getNumberOfSubComponents()Returns the number of sub-components.- Returns:
- the number of sub-components.
 
- 
getSubComponentReturns information about sub-component.- Parameters:
- index- the zero-based index of the sub-component to access.
- Returns:
- the sub-component information.
 
- 
getPropertyValuespublic 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.
 
 
-