Package hec.rss.model
Class ChannelType
java.lang.Object
hec.rss.model.ChannelType
- All Implemented Interfaces:
AsciiSerializable,FieldAccessor,Serializable
An enumerated class for designating channel type.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ChannelTypestatic final ChannelTypestatic final ChannelTypestatic final ChannelType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(ChannelType other) booleanstatic ChannelTypefromString(String string) getFieldObject(Field fld) This method allows access to java.lang.reflect.Field objects within the implementing class.inthashCode()booleansetFieldObject(Field fld, Object fobj) This allows access to fields withing the implementing object to set there data.toString()
-
Field Details
-
UNKNOWN
-
TRAPEZOID
-
CIRCLE
-
EIGHT_POINT
-
-
Constructor Details
-
ChannelType
public ChannelType()
-
-
Method Details
-
equals
-
equals
-
hashCode
public int hashCode() -
toString
-
fromString
-
getFieldObject
Description copied from interface:FieldAccessorThis method allows access to java.lang.reflect.Field objects within the implementing class.- Specified by:
getFieldObjectin interfaceFieldAccessor- Parameters:
fld- The field to get.- Returns:
- The data object that is stored in the given field
-
setFieldObject
Description copied from interface:FieldAccessorThis allows access to fields withing the implementing object to set there data.- Specified by:
setFieldObjectin interfaceFieldAccessor- Parameters:
fld- The java field object representing the member field to be setfobj- The data to set in that field- Returns:
- returns true if successful
-