|
vSphere Client SDK API Documentation : version 5.5.0.1300321 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vmware.vise.data.query.TypeInfo
public class TypeInfo
Class representing a type and its properties.
example: TypeInfo is used to indicate the types and properties handled
by a PropertyProviderAdapter
during its registration:
public MyDataProviderImpl(DataServiceExtensionRegistry registry) { registry.registerDataAdapter(this, getProvidedTypeInfos()); } private TypeInfo[] getProvidedTypeInfos() { // This data adapter handles 2 VM properties TypeInfo vmTypeInfo = new TypeInfo(); vmTypeInfo.type = "VirtualMachine"; vmTypeInfo.properties = new String[] { "samples:vmProp1", "samples:vmProp2" }; return new TypeInfo[] { vmTypeInfo }; }
Field Summary | |
---|---|
static String |
ALL_TYPES_WILDCARD
A value indicating that all types are included. |
com.vmware.vise.data.query.ComputedPropertyInfo[] |
computedProperties
Optional info describing native properties for each computed property. |
static String |
DEFAULT_OBJECT_TYPE
The supertype of all types. |
String[] |
properties
The array of properties considered for that type. |
String |
type
The object type. |
Constructor Summary | |
---|---|
TypeInfo()
|
Method Summary | |
---|---|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String ALL_TYPES_WILDCARD
public static final String DEFAULT_OBJECT_TYPE
public String type
public String[] properties
@optional public com.vmware.vise.data.query.ComputedPropertyInfo[] computedProperties
Constructor Detail |
---|
public TypeInfo()
Method Detail |
---|
public String toString()
toString
in class Object
|
vSphere Client SDK API Documentation : version 5.5.0.1300321 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |