Revision 45021 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.impl/src/main/java/org/gvsig/fmap/dal/feature/impl/DefaultFeatureAttributeDescriptor.java
DefaultFeatureAttributeDescriptor.java | ||
---|---|---|
732 | 732 |
this.tags = new DefaultTags(); |
733 | 733 |
} |
734 | 734 |
displaySize = state.getInt("displaySize",0); |
735 |
availableValuesExpression = (Expression) state.get("availableValuesExpression"); |
|
736 |
availableValuesCache = null; |
|
735 | 737 |
} |
736 | 738 |
|
737 | 739 |
@Override |
... | ... | |
822 | 824 |
state.set("tags", this.tags); |
823 | 825 |
|
824 | 826 |
state.set("displaySize", displaySize); |
827 |
state.set("availableValuesExpression", availableValuesExpression); |
|
825 | 828 |
} |
826 | 829 |
|
827 | 830 |
private static final String FEATATTRDESC_PERSISTENCE_DEFINITION_NAME = "FeatureAttributeDescriptor"; |
... | ... | |
888 | 891 |
.setClassOfValue(Tags.class); |
889 | 892 |
|
890 | 893 |
definition.addDynFieldInt("displaySize").setMandatory(false); |
891 |
|
|
894 |
definition.addDynFieldObject("availableValuesExpression") |
|
895 |
.setClassOfValue(Expression.class) |
|
896 |
.setMandatory(false); |
|
892 | 897 |
} |
893 | 898 |
} |
894 | 899 |
|
Also available in: Unified diff