Created
May 19, 2016 14:46
-
-
Save obedmhg/49a4c4a6b89a5ddb9c4d872d70958575 to your computer and use it in GitHub Desktop.
CompareValuesPropertyDescriptor in action on xml repository definition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<property name="isNewArrival" data-type="boolean" property-type="com.common.propertydescriptor.CompareValuesPropertyDescriptor"> | |
<attribute name="compareOperator" value="lt" /> | |
<attribute name="leftSideValue" value="daysAvailable" /> | |
<attribute name="leftSideType" value="property" /> | |
<attribute name="rightSideValue" value="30" /> | |
<attribute name="rightSideType" value="int" /> | |
</property> | |
<property name="onSale" data-type="boolean" property-type="com.common.propertydescriptor.CompareValuesPropertyDescriptor"> | |
<attribute name="compareOperator" value="lt" /> | |
<attribute name="leftSideValue" value="salePrice" /> | |
<attribute name="leftSideType" value="property" /> | |
<attribute name="rightSideValue" value="listPrice" /> | |
<attribute name="rightSideType" value="property" /> | |
</property> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment