Packagecom.vmware.ui.relateditems.model
Classpublic class RelationSpec
InheritanceRelationSpec Inheritance Object

This is a specification that describes the relation for an object described in ObjectRelationSpecsInfo class.

Note: Four constraint properties relation, conditionalProperty, targetType, constraint define how to retrieve the related items. There are several ways you can combine them:



Public Properties
 PropertyDefined By
  conditionalProperty : String
A property name that is going to be wrapped into the PropertyConstraint.
RelationSpec
  icon : Class
Icon for the relation.
RelationSpec
  id : String
A unique identifier of the Relation.
RelationSpec
  label : String
Label for the relation.
RelationSpec
  listViewId : String
Id if a view which can display the items of the relation.
RelationSpec
  relation : String
A property name that is going to be wrapped into the RelationConstraint.
RelationSpec
  targetType : String
Name of a target type, which is going to be used in RelationalConstraint or PropertyConstraint or simple Constraint.
RelationSpec
Property Detail
conditionalPropertyproperty
public var conditionalProperty:String

A property name that is going to be wrapped into the PropertyConstraint. Note, that along with the property name you can specify, if needed, the negation operator "!", for example, "!isVmTemplate". This logic operator is the only one allowed.

iconproperty 
public var icon:Class

Icon for the relation.

idproperty 
public var id:String

A unique identifier of the Relation. It preferrably should be in the format <Kind of related items>For<Kind of the object in the ObjectRelationSpecsInfo class>. For example, "hostsForCluster".

labelproperty 
public var label:String

Label for the relation.

listViewIdproperty 
public var listViewId:String

Id if a view which can display the items of the relation.

relationproperty 
public var relation:String

A property name that is going to be wrapped into the RelationConstraint.

targetTypeproperty 
public var targetType:String

Name of a target type, which is going to be used in RelationalConstraint or PropertyConstraint or simple Constraint.