Package com.ibm.cics.model
Interface ICICSAttribute<T>
-
- All Superinterfaces:
com.ibm.cics.model.meta.IAttribute<T>
public interface ICICSAttribute<T> extends com.ibm.cics.model.meta.IAttribute<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
COPYRIGHT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
externalToInternal(java.lang.String externalValue)
java.lang.String
getCicsName()
java.util.Comparator<? super T>
getComparator()
AggregationFunction
getDefaultAggregation()
T
getDefaultValue()
java.lang.Class<T>
getType()
the java class for the type of the attribute - String, Long, enum ...T
getUnexpectedValue()
T
getUnsupportedValue()
CICSRelease
getValidFrom()
CICSRelease
getValidTo()
ICICSAttributeHint
getValuesHint()
java.lang.String
internalToExternal(T internalValue)
Turn our internal representation into a format suitable for sending across the wirevoid
validate(java.lang.Object value)
Check whether the supplied value is valid for this attribute.
-
-
-
Field Detail
-
COPYRIGHT
static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
-
-
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 interfacecom.ibm.cics.model.meta.IAttribute<T>
- Returns:
-
getValuesHint
ICICSAttributeHint getValuesHint()
- Specified by:
getValuesHint
in interfacecom.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 interfacecom.ibm.cics.model.meta.IAttribute<T>
- Parameters:
value
-- Throws:
IllegalCICSAttributeException
-
getCicsName
java.lang.String getCicsName()
-
getUnexpectedValue
T getUnexpectedValue()
-
getUnsupportedValue
T getUnsupportedValue()
-
getDefaultValue
T getDefaultValue()
-
getValidFrom
CICSRelease getValidFrom()
-
getValidTo
CICSRelease getValidTo()
-
getDefaultAggregation
AggregationFunction getDefaultAggregation()
-
externalToInternal
T externalToInternal(java.lang.String externalValue) throws IllegalCICSAttributeException
- Throws:
IllegalCICSAttributeException
-
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()
-
-