@data(base="Object")
public class PropertySpec
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
ParameterSpec[] |
parameters
(Optional) The parameters that may be required to compute the properties.
|
java.lang.String[] |
propertyNames
The set of properties to be retrieved for the specified type.
|
java.lang.String |
relation
(Optional) Relationship name that determines the property path to the result object.
|
java.lang.String |
type
(Optional) Type to which the properties belong.
|
| Constructor and Description |
|---|
PropertySpec() |
| Modifier and Type | Method and Description |
|---|---|
PropertySpec |
clone()
Creates and returns a copy of this object.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
@optional public java.lang.String type
@optional public java.lang.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 java.lang.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 java.lang.String toString()
toString in class java.lang.Objectpublic PropertySpec clone() throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright @ 2013-2018 VMware, Inc. All rights reserved.