Revision 41638 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 | ||
---|---|---|
84 | 84 |
protected boolean isTime = false; |
85 | 85 |
protected FeatureAttributeGetter featureAttributeGetter = null; |
86 | 86 |
protected FeatureAttributeEmulator featureAttributeEmulator = null; |
87 |
protected boolean indexed = false; |
|
88 |
protected boolean isIndexAscending = true; |
|
89 |
protected boolean allowIndexDuplicateds = true; |
|
87 | 90 |
|
88 | 91 |
protected DefaultFeatureAttributeDescriptor() { |
89 | 92 |
this.allowNull = true; |
... | ... | |
141 | 144 |
this.isAutomatic = other.isAutomatic; |
142 | 145 |
this.isTime = other.isTime; |
143 | 146 |
this.featureAttributeEmulator = other.featureAttributeEmulator; |
147 |
this.indexed = other.indexed; |
|
148 |
this.isIndexAscending = other.isIndexAscending; |
|
149 |
this.allowIndexDuplicateds = other.allowIndexDuplicateds; |
|
144 | 150 |
} |
145 | 151 |
|
146 | 152 |
public String getDataTypeName() { |
... | ... | |
646 | 652 |
return this.featureAttributeEmulator; |
647 | 653 |
} |
648 | 654 |
|
655 |
public boolean isIndexed() { |
|
656 |
return this.indexed; |
|
657 |
} |
|
658 |
|
|
659 |
public boolean allowIndexDuplicateds() { |
|
660 |
return this.allowIndexDuplicateds; |
|
661 |
} |
|
662 |
|
|
663 |
public boolean isIndexAscending() { |
|
664 |
return this.isIndexAscending; |
|
665 |
} |
|
666 |
|
|
649 | 667 |
private class ConstantValueEvaluator extends AbstractEvaluator { |
650 | 668 |
public Object evaluate(EvaluatorData data) throws EvaluatorException { |
651 | 669 |
return defaultValue; |
Also available in: Unified diff