org.rhq.core.clientapi.descriptor.configuration
Class OptionSource

java.lang.Object
  extended by org.rhq.core.clientapi.descriptor.configuration.OptionSource

public class OptionSource
extends Object

Defines a source for the options of the property options. Sources can e.g. be Resources, ResourceTypes, Schedules, Configurations etc.

Java class for optionSource complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="optionSource">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="expression" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="filter" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="linkToTarget" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="target" use="required" type="{urn:xmlns:rhq-configuration}sourceType" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String expression
           
protected  String filter
           
protected  Boolean linkToTarget
           
protected  SourceType target
           
 
Constructor Summary
OptionSource()
           
 
Method Summary
 String getExpression()
          Gets the value of the expression property.
 String getFilter()
          Gets the value of the filter property.
 SourceType getTarget()
          Gets the value of the target property.
 boolean isLinkToTarget()
          Gets the value of the linkToTarget property.
 void setExpression(String value)
          Sets the value of the expression property.
 void setFilter(String value)
          Sets the value of the filter property.
 void setLinkToTarget(Boolean value)
          Sets the value of the linkToTarget property.
 void setTarget(SourceType value)
          Sets the value of the target property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expression

protected String expression

filter

protected String filter

linkToTarget

protected Boolean linkToTarget

target

protected SourceType target
Constructor Detail

OptionSource

public OptionSource()
Method Detail

getExpression

public String getExpression()
Gets the value of the expression property.

Returns:
possible object is String

setExpression

public void setExpression(String value)
Sets the value of the expression property.

Parameters:
value - allowed object is String

getFilter

public String getFilter()
Gets the value of the filter property.

Returns:
possible object is String

setFilter

public void setFilter(String value)
Sets the value of the filter property.

Parameters:
value - allowed object is String

isLinkToTarget

public boolean isLinkToTarget()
Gets the value of the linkToTarget property.

Returns:
possible object is Boolean

setLinkToTarget

public void setLinkToTarget(Boolean value)
Sets the value of the linkToTarget property.

Parameters:
value - allowed object is Boolean

getTarget

public SourceType getTarget()
Gets the value of the target property.

Returns:
possible object is SourceType

setTarget

public void setTarget(SourceType value)
Sets the value of the target property.

Parameters:
value - allowed object is SourceType


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.