Class AttributeImpl

java.lang.Object
ddf.catalog.data.impl.AttributeImpl
All Implemented Interfaces:
ddf.catalog.data.Attribute, Serializable

public class AttributeImpl extends Object implements ddf.catalog.data.Attribute
A simple implementation of Attribute.

This class is Serializable and care should be taken with compatibility if changes are made.

For what constitutes a compatible change in serialization, see Sun's Guidelines.

See Also:
  • Field Details

    • name

      protected String name
      Nontransient field that holds the name of the Attribute.
  • Constructor Details

    • AttributeImpl

      public AttributeImpl(String name, Serializable value)
      Constructor
      Parameters:
      name - - the name of this Attribute
      value - - the value of this Attribute
    • AttributeImpl

      public AttributeImpl(String name, List<? extends Serializable> values)
      Multivalued Constructor
      Parameters:
      name - - the name of this Attribute
      values - - the value of this Attribute
    • AttributeImpl

      public AttributeImpl(ddf.catalog.data.Attribute attribute)
      Copy Constructor
  • Method Details