@data(base="Object") public class PropertySpec extends Object implements Cloneable
| Modifier and Type | Field and Description |
|---|---|
ParameterSpec[] |
parameters
(Optional) The parameters that may be required to compute the properties.
|
String[] |
propertyNames
The set of properties to be retrieved for the specified type.
|
String |
relation
(Optional) Relationship name that determines the property path to the result object.
|
String |
type
(Optional) Type to which the properties belong.
|
| Constructor and Description |
|---|
PropertySpec() |
@optional public String type
@optional public String relation
VMODL1 property names must never be qualified with resource model name (i.e. for resource type "VirtualMachine", property "name" is valid while "VirtualMachine/name" is not). VMODL2 property names must always be qualified with resource model name.
public String[] propertyNames
The property name can be annotated by "@formatted" annotation (i.e. "propName.@formatted"), which will apply a formatter to the property value. The formatter is provided by a provider of a property.
VMODL1 property names must never be qualified with resource model name (i.e. for resource type "VirtualMachine", property "name" is valid while "VirtualMachine/name" is not). VMODL2 property names must always be qualified with resource model name.
@optional public ParameterSpec[] parameters
ParameterSpecpublic PropertySpec clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionCopyright @ 2013 VMware, Inc. All rights reserved.