Revision 43555 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/DefaultFeatureType.java
DefaultFeatureType.java | ||
---|---|---|
71 | 71 |
protected FeatureAttributeDescriptor[] pk = null; |
72 | 72 |
protected String internalID = null; |
73 | 73 |
|
74 |
private List srsList = null;
|
|
74 |
private List srsList = null; |
|
75 | 75 |
|
76 | 76 |
protected DefaultFeatureType(String id) { |
77 | 77 |
if( StringUtils.isEmpty(id) ) { |
... | ... | |
102 | 102 |
this((String)null); |
103 | 103 |
initialize(other, copyAttributes); |
104 | 104 |
} |
105 |
|
|
105 |
|
|
106 | 106 |
protected void initialize(DefaultFeatureType other, boolean copyAttributes) { |
107 | 107 |
this.id = other.getId(); |
108 | 108 |
if (copyAttributes) { |
... | ... | |
169 | 169 |
public FeatureType getCopy() { |
170 | 170 |
return new DefaultFeatureType(this); |
171 | 171 |
} |
172 |
|
|
172 |
|
|
173 | 173 |
public Object clone() { |
174 | 174 |
return this.getCopy(); |
175 | 175 |
} |
... | ... | |
384 | 384 |
* |
385 | 385 |
*/ |
386 | 386 |
private static final long serialVersionUID = -4414242486723260101L; |
387 |
private final static String MESSAGE_FORMAT = "Attribute name '%(name)s' not found in type (%(type)s).";
|
|
387 |
private final static String MESSAGE_FORMAT = "Attribute name '%(name)' not found in type (%(type)).";
|
|
388 | 388 |
private final static String MESSAGE_KEY = "_SubtypeFeatureTypeNameException"; |
389 | 389 |
|
390 | 390 |
public SubtypeFeatureTypeNameException(String name, String type) { |
... | ... | |
669 | 669 |
public DynField addDynFieldString(String name) { |
670 | 670 |
throw new UnsupportedOperationException(); |
671 | 671 |
} |
672 |
|
|
672 |
|
|
673 | 673 |
public DynField addDynFieldInt(String name) { |
674 | 674 |
throw new UnsupportedOperationException(); |
675 | 675 |
} |
676 |
|
|
676 |
|
|
677 | 677 |
public DynField addDynFieldDouble(String name) { |
678 | 678 |
throw new UnsupportedOperationException(); |
679 | 679 |
} |
680 |
|
|
680 |
|
|
681 | 681 |
public DynField addDynFieldFloat(String name) { |
682 | 682 |
throw new UnsupportedOperationException(); |
683 | 683 |
} |
... | ... | |
757 | 757 |
|
758 | 758 |
public void extend(DynStruct[] structs) { |
759 | 759 |
// TODO Auto-generated method stub |
760 |
|
|
760 |
|
|
761 | 761 |
} |
762 | 762 |
|
763 | 763 |
public void remove(DynStruct superDynStruct) { |
764 | 764 |
// TODO Auto-generated method stub |
765 |
|
|
765 |
|
|
766 | 766 |
} |
767 | 767 |
|
768 | 768 |
public void removeAll(DynStruct[] superDynStruct) { |
769 | 769 |
// TODO Auto-generated method stub |
770 |
|
|
770 |
|
|
771 | 771 |
} |
772 | 772 |
|
773 | 773 |
public FeatureAttributeDescriptor getDefaultTimeAttribute() { |
Also available in: Unified diff