Class Attribute


  • public class Attribute
    extends Object
    Wrapper class for a CAS attribute/values construct in a validate response.
    • Field Detail

      • name

        @Nonnull
        @NotEmpty
        private String name
        Name of attribute.
      • values

        @Nonnull
        @NonnullElements
        private final Collection<String> values
        String values.
    • Constructor Detail

      • Attribute

        public Attribute​(@Nonnull @NotEmpty
                         String theName)
        Constructor.
        Parameters:
        theName - name of attribute
    • Method Detail

      • getName

        @Nonnull
        @NotEmpty
        public String getName()
        Get the attribute's name.
        Returns:
        the name
      • getValues

        @Nonnull
        @NonnullElements
        @Live
        public Collection<String> getValues()
        Get string values.
        Returns:
        string value collection