Interface ICICSAttribute<T>

  • All Superinterfaces:
    com.ibm.cics.model.meta.IAttribute<T>

    public interface ICICSAttribute<T>
    extends com.ibm.cics.model.meta.IAttribute<T>
    • Method Detail

      • getType

        java.lang.Class<T> getType()
        Description copied from interface: com.ibm.cics.model.meta.IAttribute
        the java class for the type of the attribute - String, Long, enum ... the model object is expected to have a getter method compatible with this
        Specified by:
        getType in interface com.ibm.cics.model.meta.IAttribute<T>
        Returns:
      • getValuesHint

        ICICSAttributeHint getValuesHint()
        Specified by:
        getValuesHint in interface com.ibm.cics.model.meta.IAttribute<T>
      • validate

        void validate​(java.lang.Object value)
               throws IllegalCICSAttributeException
        Check whether the supplied value is valid for this attribute. Throws an IllegalCICSAttributeException if the value supplied is invalid.
        Specified by:
        validate in interface com.ibm.cics.model.meta.IAttribute<T>
        Parameters:
        value -
        Throws:
        IllegalCICSAttributeException
      • getCicsName

        java.lang.String getCicsName()
      • getUnexpectedValue

        T getUnexpectedValue()
      • getUnsupportedValue

        T getUnsupportedValue()
      • getDefaultValue

        T getDefaultValue()
      • internalToExternal

        java.lang.String internalToExternal​(T internalValue)
                                     throws IllegalCICSAttributeException
        Turn our internal representation into a format suitable for sending across the wire
        Parameters:
        internalValue - our internal representation
        Returns:
        a String which is acceptable to CMCI
        Throws:
        IllegalCICSAttributeException
      • getComparator

        java.util.Comparator<? super T> getComparator()