Package org.sblim.cimclient.internal.cim
Class CIMInstanceBuilder
java.lang.Object
org.sblim.cimclient.internal.cim.CIMInstanceBuilder
Class CIMInstanceBuilder provides help for CIMInstance(CIMObjectPath,
CIMProperty[]) constructor.
CIMObjectPath param has to contain the key properties only.
( VALUE.NAMEDINSTANCE->INSTANCENAME->KEYBINDING )
CIMProperty[] param has to contain all properties, including key properties.
( VALUE.NAMEDINSTANCE->INSTANCE->PROPERTY* )
The implementation merges the properties from both params.
From CIMObjectPath's keys only the type and value information is considered.
CIMObjectPath param has to contain the key properties only.
( VALUE.NAMEDINSTANCE->INSTANCENAME->KEYBINDING )
CIMProperty[] param has to contain all properties, including key properties.
( VALUE.NAMEDINSTANCE->INSTANCE->PROPERTY* )
The implementation merges the properties from both params.
From CIMObjectPath's keys only the type and value information is considered.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCIMProperty<?>[]
getAllPropertissetKeys
(CIMObjectPath pPath) Extends the keys of the passed CIMObjectPath.
-
Constructor Details
-
CIMInstanceBuilder
public CIMInstanceBuilder(CIMObjectPath pPath, CIMProperty<?>[] pProps) throws IllegalArgumentException Ctor.- Parameters:
pPath
-pProps
-- Throws:
IllegalArgumentException
-
-
Method Details
-
setKeys
Extends the keys of the passed CIMObjectPath.- Parameters:
pPath
-- Returns:
- the new CIMObjectPath
-
getAllPropertis
getAllPropertis- Returns:
- all properties in an ordered way
-