Package hec.rss.model
Class OutletUsageModel
java.lang.Object
hec.rss.model.OutletUsageModel
- All Implemented Interfaces:
AsciiSerializable,FieldAccessor,Serializable
Title: Hec Java Development
Description: Data Model for OutletUsageOptionsDialog
Copyright: Copyright (c) 2002
Company: RMA, Inc.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFieldObject(Field fld) Gets the fieldObject attribute of the OutletUsageModel objectbooleanisRequired(int gateID) Gets the required attribute of the OutletUsageModel objectbooleanisUsed(int gateID) Gets the used attribute of the OutletUsageModel objectbooleansetFieldObject(Field fld, Object fobj) Sets the fieldObject attribute of the OutletUsageModel objectvoidsetGateElements(int[] elements) Sets the gateElements attribute of the OutletUsageModel objectvoidsetRequired(int gateID, boolean required) Sets the required attribute of the OutletUsageModel objectvoidsetUsed(int gateID, boolean used) Sets the used attribute of the OutletUsageModel object
-
Constructor Details
-
OutletUsageModel
public OutletUsageModel()Constructor for the OutletUsageModel object
-
-
Method Details
-
setUsed
public void setUsed(int gateID, boolean used) Sets the used attribute of the OutletUsageModel object- Parameters:
gateID- intused- boolean
-
setRequired
public void setRequired(int gateID, boolean required) Sets the required attribute of the OutletUsageModel object- Parameters:
gateID- intrequired- boolean
-
getFieldObject
Gets the fieldObject attribute of the OutletUsageModel object- Specified by:
getFieldObjectin interfaceFieldAccessor- Parameters:
fld- Description of Parameter- Returns:
- The fieldObject value
-
setFieldObject
Sets the fieldObject attribute of the OutletUsageModel object- Specified by:
setFieldObjectin interfaceFieldAccessor- Parameters:
fld- The new fieldObject valuefobj- The new fieldObject value- Returns:
- Boolean
-
setGateElements
public void setGateElements(int[] elements) Sets the gateElements attribute of the OutletUsageModel object- Parameters:
elements- int[]
-
isUsed
public boolean isUsed(int gateID) Gets the used attribute of the OutletUsageModel object- Parameters:
gateID- int- Returns:
- boolean
-
isRequired
public boolean isRequired(int gateID) Gets the required attribute of the OutletUsageModel object- Parameters:
gateID- int- Returns:
- boolean
-