Enum Class GraphicAttribute

java.lang.Object
java.lang.Enum<GraphicAttribute>
org.codice.alliance.transformer.nitf.image.GraphicAttribute
All Implemented Interfaces:
Serializable, Comparable<GraphicAttribute>, Constable, NitfAttribute<org.codice.imaging.nitf.core.graphic.GraphicSegment>

public enum GraphicAttribute extends Enum<GraphicAttribute> implements NitfAttribute<org.codice.imaging.nitf.core.graphic.GraphicSegment>
NitfAttributes to represent the properties of a GraphicSegment.
  • Enum Constant Details

    • FILE_PART_TYPE

      public static final GraphicAttribute FILE_PART_TYPE
    • GRAPHIC_IDENTIFIER

      public static final GraphicAttribute GRAPHIC_IDENTIFIER
    • GRAPHIC_NAME

      public static final GraphicAttribute GRAPHIC_NAME
    • GRAPHIC_SECURITY_CLASSIFICATION

      public static final GraphicAttribute GRAPHIC_SECURITY_CLASSIFICATION
    • GRAPHIC_CLASSIFICATION_SECURITY_SYSTEM

      public static final GraphicAttribute GRAPHIC_CLASSIFICATION_SECURITY_SYSTEM
    • GRAPHIC_CODEWORDS

      public static final GraphicAttribute GRAPHIC_CODEWORDS
    • GRAPHIC_CONTROL_AND_HANDLING

      public static final GraphicAttribute GRAPHIC_CONTROL_AND_HANDLING
    • GRAPHIC_RELEASING_INSTRUCTIONS

      public static final GraphicAttribute GRAPHIC_RELEASING_INSTRUCTIONS
    • GRAPHIC_DECLASSIFICATION_TYPE

      public static final GraphicAttribute GRAPHIC_DECLASSIFICATION_TYPE
    • GRAPHIC_DECLASSIFICATION_DATE

      public static final GraphicAttribute GRAPHIC_DECLASSIFICATION_DATE
    • GRAPHIC_DECLASSIFICATION_EXEMPTION

      public static final GraphicAttribute GRAPHIC_DECLASSIFICATION_EXEMPTION
    • GRAPHIC_DOWNGRADE

      public static final GraphicAttribute GRAPHIC_DOWNGRADE
    • GRAPHIC_DOWNGRADE_DATE

      public static final GraphicAttribute GRAPHIC_DOWNGRADE_DATE
    • GRAPHIC_CLASSIFICATION_TEXT

      public static final GraphicAttribute GRAPHIC_CLASSIFICATION_TEXT
    • GRAPHIC_CLASSIFICATION_AUTHORITY_TYPE

      public static final GraphicAttribute GRAPHIC_CLASSIFICATION_AUTHORITY_TYPE
    • GRAPHIC_CLASSIFICATION_AUTHORITY

      public static final GraphicAttribute GRAPHIC_CLASSIFICATION_AUTHORITY
    • GRAPHIC_CLASSIFICATION_REASON

      public static final GraphicAttribute GRAPHIC_CLASSIFICATION_REASON
    • GRAPHIC_SECURITY_SOURCE_DATE

      public static final GraphicAttribute GRAPHIC_SECURITY_SOURCE_DATE
    • GRAPHIC_SECURITY_CONTROL_NUMBER

      public static final GraphicAttribute GRAPHIC_SECURITY_CONTROL_NUMBER
    • GRAPHIC_DISPLAY_LEVEL

      public static final GraphicAttribute GRAPHIC_DISPLAY_LEVEL
    • GRAPHIC_ATTACHMENT_LEVEL

      public static final GraphicAttribute GRAPHIC_ATTACHMENT_LEVEL
    • GRAPHIC_LOCATION

      public static final GraphicAttribute GRAPHIC_LOCATION
    • GRAPHIC_COLOR

      public static final GraphicAttribute GRAPHIC_COLOR
    • GRAPHIC_EXTENDED_SUBHEADER_DATA_LENGTH

      public static final GraphicAttribute GRAPHIC_EXTENDED_SUBHEADER_DATA_LENGTH
  • Method Details

    • values

      public static GraphicAttribute[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static GraphicAttribute valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getShortName

      public final String getShortName()
      Specified by:
      getShortName in interface NitfAttribute<org.codice.imaging.nitf.core.graphic.GraphicSegment>
      Returns:
      the attribute's short name as listed in MIL-STD-2500C.
    • getLongName

      public final String getLongName()
      Specified by:
      getLongName in interface NitfAttribute<org.codice.imaging.nitf.core.graphic.GraphicSegment>
      Returns:
      the attribute's long name in CamelCase.
    • getAccessorFunction

      public Function<org.codice.imaging.nitf.core.graphic.GraphicSegment,Serializable> getAccessorFunction()
      Specified by:
      getAccessorFunction in interface NitfAttribute<org.codice.imaging.nitf.core.graphic.GraphicSegment>
      Returns:
      a function that, given the CommonNitfSegment of type T, will return the corresponding value for the NitfAttribute as a Serializable. The function should return null if the value cannot be computed.
    • getExtAccessorFunction

      public Function<org.codice.imaging.nitf.core.graphic.GraphicSegment,Serializable> getExtAccessorFunction()
      Specified by:
      getExtAccessorFunction in interface NitfAttribute<org.codice.imaging.nitf.core.graphic.GraphicSegment>
      Returns:
      a function that, given the CommonNitfSegment of type T, will return the corresponding value for the extended NitfAttribute as a Serializable. The function should return null if the value cannot be computed.
    • toString

      public String toString()
      Equivalent to getLongName()
      Overrides:
      toString in class Enum<GraphicAttribute>
      Returns:
      the attribute's long name.
    • getAttributeDescriptors

      public Set<ddf.catalog.data.AttributeDescriptor> getAttributeDescriptors()
      Specified by:
      getAttributeDescriptors in interface NitfAttribute<org.codice.imaging.nitf.core.graphic.GraphicSegment>
      Returns:
      AttributeDescriptors for this attribute.