Package net.simplace.sim.util
Class FWSimFieldContainerGroup
java.lang.Object
net.simplace.sim.util.FWSimFieldContainerGroup
- All Implemented Interfaces:
FWSimFieldContainer
- Author:
- aenders
-
Constructor Summary
ConstructorsConstructorDescriptionFWSimFieldContainerGroup(List<FWSimFieldContainer> aContainerList, Collection<SimFieldLink> aSimLinkList, String aName, FWSimVariable.CONTENT_TYPE aContentType, int aOrderNumber) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddVariable(FWSimVariable<?> aVariable) voidcheckCondition(Boolean aCheckResult, String aMessage) Called from inside the FWSimFieldContainer to log the initialization Errors.org.jdom2.Elementorg.jdom2.ElementgetEditFormXML(boolean aEnabled) getName()intgetVariable(String aID) booleanvoidremoveVariable(String aID) org.jdom2.ElementtoString()org.jdom2.ElementtoXML()
-
Constructor Details
-
FWSimFieldContainerGroup
public FWSimFieldContainerGroup(List<FWSimFieldContainer> aContainerList, Collection<SimFieldLink> aSimLinkList, String aName, FWSimVariable.CONTENT_TYPE aContentType, int aOrderNumber) - Parameters:
aContainerList-aSimLinkList-aName-aOrderNumber-aContentType-
-
-
Method Details
-
createVariables
- Specified by:
createVariablesin interfaceFWSimFieldContainer- Returns:
- variables from the field map
- See Also:
-
addVariable
- Specified by:
addVariablein interfaceFWSimFieldContainer- See Also:
-
getOrderNumber
public int getOrderNumber()- Specified by:
getOrderNumberin interfaceFWSimFieldContainer- Returns:
- number in the order of Components
- See Also:
-
getContentType
- Specified by:
getContentTypein interfaceFWSimFieldContainer- Returns:
- number in the order of Components
- See Also:
-
getVariable
- Specified by:
getVariablein interfaceFWSimFieldContainer- Returns:
- FWSimVariable for ID in Field Map
- Throws:
SimFieldMissingException- See Also:
-
removeVariable
- Specified by:
removeVariablein interfaceFWSimFieldContainer- See Also:
-
getName
- Specified by:
getNamein interfaceFWSimFieldContainer- Returns:
- the Name of the component
- See Also:
-
getOutputVariables
- Specified by:
getOutputVariablesin interfaceFWSimFieldContainer- Returns:
- FWSimVarables filtered - only output Variables
- See Also:
-
getInputVariables
- Specified by:
getInputVariablesin interfaceFWSimFieldContainer- Returns:
- FWSimVarables filtered - only input Variables
- See Also:
-
getFieldMap
- Specified by:
getFieldMapin interfaceFWSimFieldContainer- Returns:
- whole field map as created in createVariables()
- See Also:
-
toXML
public org.jdom2.Element toXML()- Specified by:
toXMLin interfaceFWSimFieldContainer- Returns:
- a xml element with all the settings of this component()
- See Also:
-
toGroupXML
public org.jdom2.Element toGroupXML()- Returns:
- GroupXML Element
-
getFrequence
- Specified by:
getFrequencein interfaceFWSimFieldContainer- Returns:
- the Frequence of the Container calling
- See Also:
-
getCreateFormXML
public org.jdom2.Element getCreateFormXML()- Specified by:
getCreateFormXMLin interfaceFWSimFieldContainer- Returns:
- a xml element with all the settings of this component()
- See Also:
-
getEditFormXML
public org.jdom2.Element getEditFormXML(boolean aEnabled) - Specified by:
getEditFormXMLin interfaceFWSimFieldContainer- Returns:
- a xml element with all the settings of this component()
- See Also:
-
net.simplace.sim.util.FWSimFieldContainer#getEditFormXML()
-
toString
-
getFieldContainers
- Returns:
- the integrated Containers
-
getTransformedSimFieldLinks
- Returns:
- the integrated Containers
-
getOriginalSimFieldLinks
- Returns:
- the integrated Containers
-
getVarMap
- Specified by:
getVarMapin interfaceFWSimFieldContainer- Returns:
- number in the order of Components
-
checkCondition
Description copied from interface:FWSimFieldContainerCalled from inside the FWSimFieldContainer to log the initialization Errors.- Specified by:
checkConditionin interfaceFWSimFieldContainer
-
isConditionCheck
public boolean isConditionCheck()- Specified by:
isConditionCheckin interfaceFWSimFieldContainer
-