Package org.intermine.web.logic.query
Class DisplayConstraint.DisplayConstraintOption
- java.lang.Object
-
- org.intermine.web.logic.query.DisplayConstraint.DisplayConstraintOption
-
- Enclosing class:
- DisplayConstraint
public class DisplayConstraint.DisplayConstraintOption extends java.lang.Object
Representation of a constraint operation to populate a dropdown. Label is value to be displayed in the dropdown, property is the index of the constraint that will be selected.- Author:
- Richard Smith
-
-
Constructor Summary
Constructors Constructor Description DisplayConstraintOption(java.lang.String label, java.lang.Integer property)
Construct with the constraint lable and index
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLabel()
Get the value to be displayed in the dropdown for this operation.java.lang.Integer
getProperty()
Get the constraint index to be put in form when this op is selected.
-
-
-
Method Detail
-
getLabel
public java.lang.String getLabel()
Get the value to be displayed in the dropdown for this operation.- Returns:
- the display value
-
getProperty
public java.lang.Integer getProperty()
Get the constraint index to be put in form when this op is selected.- Returns:
- the constraint index
-
-