@Retention(value=RUNTIME) @Target(value=FIELD) public @interface BigDecimal
When placed on an entity field of type BigDecimal , the following properties will be stored for
the property:
To customize the behavior of this annotation, the following properties may be set:
storeDisplayableAmount: Set to true to store a displayable currency amount for human-readability in the App Engine Datastore Viewer (defaults to
true).indexDisplayableAmount: Set to to index the displayableAmount property
(defaults to false).displayableAmountFieldName: The property-name to store the
displayableAmount in Appengine Datastore Entities. (defaults to 'displayableAmount').encodedAmountFieldName: The property-name to store the encodedAmount value in
Appengine Datastore Entities. (defaults to 'encodedAmount').indexEncodedAmount: Set to true to index the encodedAmount property (defaults to true).| Modifier and Type | Optional Element and Description |
|---|---|
String |
displayableAmountFieldName |
String |
encodedAmountFieldName |
boolean |
indexDisplayableAmount |
boolean |
indexEncodedAmount |
boolean |
storeDisplayableAmount |
public abstract boolean indexEncodedAmount
public abstract boolean storeDisplayableAmount
public abstract boolean indexDisplayableAmount
public abstract String displayableAmountFieldName
public abstract String encodedAmountFieldName
Copyright © 2013-2014–2015 Sappenin Inc.. All rights reserved.