| Package | com.vmware.ui.relateditems.model |
| Class | public class RelationSpec |
| Inheritance | RelationSpec Object |
Note: Four constraint properties relation, conditionalProperty, targetType,
constraint define how to retrieve the related items.
There are several ways you can combine them:
relation, conditionalProperty, targetType
Remember, if you do not specify the targetType, the query will
be evaluated only in the default SearchProviderAdapter, which is
SearchBasedAdapterImpl. So, if you require other
SearchProviderAdapters to evaluate the query, you need to specify a
targetType
constraint only. In fact, if you specify, other properties
along with this one, only the constraint will be used| Property | Defined 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 | ||
| conditionalProperty | property |
public var conditionalProperty:StringA 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.
| icon | property |
public var icon:ClassIcon for the relation.
| id | property |
public var id:StringA 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".
| label | property |
public var label:StringLabel for the relation.
| listViewId | property |
public var listViewId:StringId if a view which can display the items of the relation.
| relation | property |
public var relation:StringA property name that is going to be wrapped into the RelationConstraint.
| targetType | property |
public var targetType:StringName of a target type, which is going to be used in RelationalConstraint or PropertyConstraint or simple Constraint.