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.StringCOPYRIGHT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TexternalToInternal(java.lang.String externalValue)java.lang.StringgetCicsName()java.util.Comparator<? super T>getComparator()AggregationFunctiongetDefaultAggregation()TgetDefaultValue()java.lang.Class<T>getType()the java class for the type of the attribute - String, Long, enum ...TgetUnexpectedValue()TgetUnsupportedValue()CICSReleasegetValidFrom()CICSReleasegetValidTo()ICICSAttributeHintgetValuesHint()java.lang.StringinternalToExternal(T internalValue)Turn our internal representation into a format suitable for sending across the wirevoidvalidate(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.IAttributethe 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:
getTypein interfacecom.ibm.cics.model.meta.IAttribute<T>- Returns:
-
getValuesHint
ICICSAttributeHint getValuesHint()
- Specified by:
getValuesHintin interfacecom.ibm.cics.model.meta.IAttribute<T>
-
validate
void validate(java.lang.Object value) throws IllegalCICSAttributeExceptionCheck whether the supplied value is valid for this attribute. Throws an IllegalCICSAttributeException if the value supplied is invalid.- Specified by:
validatein 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()
-
-