Package org.kigalisim.lang.fragment
Class AboutStanzaFragment
java.lang.Object
org.kigalisim.lang.fragment.Fragment
org.kigalisim.lang.fragment.AboutStanzaFragment
A fragment representing an about stanza.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if this fragment is a policy stanza (or default).booleanCheck if this fragment is a scenarios stanza.Methods inherited from class org.kigalisim.lang.fragment.Fragment
getApplication, getDuring, getOperation, getPolicy, getProgram, getScenario, getScenarios, getString, getSubstance, getUnit
-
Constructor Details
-
AboutStanzaFragment
public AboutStanzaFragment()Create a new fragment for an about stanza.
-
-
Method Details
-
getIsStanzaScenarios
public boolean getIsStanzaScenarios()Description copied from class:FragmentCheck if this fragment is a scenarios stanza.- Overrides:
getIsStanzaScenariosin classFragment- Returns:
- True if this fragment is a scenarios stanza, false if another stanza.
-
getIsStanzaPolicyOrDefault
public boolean getIsStanzaPolicyOrDefault()Description copied from class:FragmentCheck if this fragment is a policy stanza (or default).- Overrides:
getIsStanzaPolicyOrDefaultin classFragment- Returns:
- True if policy stanza, false if another stanza.
-