2 |
|
|
3 |
import java.util.List; |
import java.util.List; |
4 |
|
|
5 |
|
import org.geotools.feature.NameImpl; |
6 |
import org.opengis.feature.type.Name; |
import org.opengis.feature.type.Name; |
7 |
|
|
8 |
import skrueger.AttributeMetadataImpl; |
import skrueger.AttributeMetadataImpl; |
9 |
|
|
10 |
public class AttributeMetadataImplMap extends AttributeMetadataMap<AttributeMetadataImpl> { |
public class AttributeMetadataImplMap extends AttributeMetadataMap<AttributeMetadataImpl> { |
11 |
|
|
12 |
|
private static final long serialVersionUID = 6781939984242527498L; |
13 |
|
|
14 |
|
|
15 |
public AttributeMetadataImplMap(List<String> langs) { |
public AttributeMetadataImplMap(List<String> langs) { |
16 |
super(langs); |
super(langs); |
17 |
} |
} |
36 |
* fly. |
* fly. |
37 |
*/ |
*/ |
38 |
@Override |
@Override |
39 |
public AttributeMetadataImpl get(final Name name) { |
public AttributeMetadataImpl get(final NameImpl name) { |
40 |
final AttributeMetadataImpl AttributeMetadataImpl = super.get(name); |
final AttributeMetadataImpl AttributeMetadataImpl = super.get(name); |
41 |
if (AttributeMetadataImpl == null && name != null |
if (AttributeMetadataImpl == null && name != null |
42 |
&& !name.getLocalPart().trim().isEmpty()) { |
&& !name.getLocalPart().trim().isEmpty()) { |