com.ibm.cics.model
Interface ICICSAttribute<T>
- All Superinterfaces:
- com.ibm.cics.model.meta.IAttribute
public interface ICICSAttribute<T>
- extends com.ibm.cics.model.meta.IAttribute
Methods inherited from interface com.ibm.cics.model.meta.IAttribute |
getCategoryId, getPropertyId |
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
- Returns:
getValuesHint
ICICSAttributeHint getValuesHint()
- Specified by:
getValuesHint
in interface com.ibm.cics.model.meta.IAttribute
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
- Parameters:
value
-
- Throws:
IllegalCICSAttributeException
getCicsName
java.lang.String getCicsName()
getUnexpectedValue
T getUnexpectedValue()
getUnsupportedValue
T getUnsupportedValue()
getDefaultValue
T getDefaultValue()
getValidFrom
com.ibm.cics.common.CICSRelease getValidFrom()
getValidTo
com.ibm.cics.common.CICSRelease getValidTo()
externalToInternal
T externalToInternal(java.lang.String externalValue)
throws IllegalCICSAttributeException
- Throws:
IllegalCICSAttributeException
internalToExternal
java.lang.String internalToExternal(T internalValue)
throws IllegalCICSAttributeException
- Throws:
IllegalCICSAttributeException
Copyright 2008-2009 IBM Corp. All Rights Reserved.