VALUE_TYPE - type for the attribute valueOneToManyAttribute instead@Api(allMethods=true) @Deprecated public class ArrayAttribute<VALUE_TYPE> extends Object implements Attribute<VALUE_TYPE[]>
Attribute type that holds an array of other attributes. Note that not all vector layers support this, as it is not counted as a primitive type.
| Constructor and Description |
|---|
ArrayAttribute()
Deprecated.
Constructor, create attribute without value (needed for GWT).
|
ArrayAttribute(VALUE_TYPE[] value)
Deprecated.
Create array attribute with given array as value.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Deprecated.
Create a clone of this attribute object.
|
VALUE_TYPE[] |
getValue()
Deprecated.
Get the value for this attribute.
|
boolean |
isEditable()
Deprecated.
Indicates whether the user is authorized to edit this attribute.
|
boolean |
isEmpty()
Deprecated.
Does the attribute have a value?
|
boolean |
isPrimitive()
Deprecated.
Is this a primitive attribute?
An attribute is not primitive when is is an association attribute.
|
void |
setEditable(boolean editable)
Deprecated.
set whether the feature is editable or not.
|
void |
setValue(VALUE_TYPE[] value)
Deprecated.
Apply a new array of values for this attribute.
|
public ArrayAttribute()
public ArrayAttribute(VALUE_TYPE[] value)
value - value for arraypublic VALUE_TYPE[] getValue()
getValue in interface Attribute<VALUE_TYPE[]>public void setValue(VALUE_TYPE[] value)
value - The new array of values.public boolean isEditable()
isEditable in interface Attribute<VALUE_TYPE[]>public boolean isEmpty()
isEmpty in interface Attribute<VALUE_TYPE[]>public boolean isPrimitive()
isPrimitive in interface Attribute<VALUE_TYPE[]>public void setEditable(boolean editable)
setEditable in interface Attribute<VALUE_TYPE[]>editable - editable statusCopyright © 2015 Geosparc. All Rights Reserved.