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


Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 T externalToInternal(java.lang.String externalValue)
           
 java.lang.String getCicsName()
           
 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)
           
 void validate(java.lang.Object value)
          Check whether the supplied value is valid for this attribute.
 
Methods inherited from interface com.ibm.cics.model.meta.IAttribute
getCategoryId, getPropertyId
 

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 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

CICSRelease getValidFrom()

getValidTo

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-2012 IBM Corp. All Rights Reserved.