com.hp.ucmdb.api.topology
Interface PropertiesToQuery


public interface PropertiesToQuery

Defines a set of properties to retrieve as part of the query results.


Method Summary
 PropertiesToQuery addKeyProperties()
          Sets to retrieve the key properties of CIs and relations.
 PropertiesToQuery addProperties(java.lang.String... names)
          Adds the specified properties to the list of properties to query.
 PropertiesToQuery addPropertiesWithQualifier(java.lang.String qualifierName)
          Sets to retrieve all properties having the specified qualifier.
 PropertiesToQuery addProperty(java.lang.String name)
          Adds the named property to the list of properties to query.
 boolean isEmpty()
           
 java.util.Collection<java.lang.String> namedProperties()
           
 java.util.Collection<java.lang.String> qualifierMarkedProperties()
           
 

Method Detail

addProperty

PropertiesToQuery addProperty(java.lang.String name)
Adds the named property to the list of properties to query.

Parameters:
name - name of a property
Returns:
this object. The returned object can be used for method chaining.

addProperties

PropertiesToQuery addProperties(java.lang.String... names)
Adds the specified properties to the list of properties to query.

Parameters:
names - the names of the properties to add.
Returns:
this object. The returned object can be used for method chaining.

addKeyProperties

PropertiesToQuery addKeyProperties()
Sets to retrieve the key properties of CIs and relations.

Returns:
this object. The returned object can be used for method chaining.

addPropertiesWithQualifier

PropertiesToQuery addPropertiesWithQualifier(java.lang.String qualifierName)
Sets to retrieve all properties having the specified qualifier.

Parameters:
qualifierName -
Returns:
this object. The returned object can be used for method chaining.

qualifierMarkedProperties

java.util.Collection<java.lang.String> qualifierMarkedProperties()

namedProperties

java.util.Collection<java.lang.String> namedProperties()

isEmpty

boolean isEmpty()


Documentation Feedback
Copyright 2010 Hewlett-Packard Development Company, L.P.