public class RegulatingControl extends IdentifiedObject
Modifier and Type | Field and Description |
---|---|
boolean |
discrete
Attribute "discrete"
Comment from profile:
The regulation is performed in a discrete mode.
|
java.lang.String |
idTerminal
The id of the attribute "terminal"
This id is mainly used to resolve links after parsing an instance
|
RegulatingControlModeKind |
mode
Attribute "mode"
Comment from profile:
The regulating control mode presently available.
|
java.util.List<RegulatingCondEq> |
regulatingCondEq
Attribute "regulatingCondEq"
Comment from profile:
copy from reg cond eq
|
java.util.List<TapChanger> |
tapChanger
Attribute "tapChanger"
Comment from profile:
copy from reg conduting eq
|
float |
targetRange
Attribute "targetRange"
Comment from profile:
This is the case input target range.
|
float |
targetValue
Attribute "targetValue"
Comment from profile:
The target value specified for case input.
|
Terminal |
terminal
Attribute "terminal"
Comment from profile:
The terminal associated with this regulating control.
|
aliasName, description, name
addedToUnresolved, fromBoundary, id, subset
Modifier | Constructor and Description |
---|---|
protected |
RegulatingControl()
Constructor of the class RegulatingControl
|
Modifier and Type | Method and Description |
---|---|
void |
addRegulatingCondEq(RegulatingCondEq regulatingCondEqValue,
boolean setInverse)
Utility to add a value within the "regulatingCondEq" ArrayList of
"RegulatingCondEq"
|
void |
addTapChanger(TapChanger tapChangerValue,
boolean setInverse)
Utility to add a value within the "tapChanger" ArrayList of
"TapChanger"
|
protected void |
clearAssociations(Subset subset)
Utility to clear the associations of this class belonging to a
specific subset
|
void |
clearContent(Subset subset)
Utility to "clear" the content of a class when a subset is invalidated
|
RegulatingControl |
clone()
Utility returning a copy of the "base" of this instance
This utility does not copy the associations with other instances
|
void |
copyBase(RegulatingControl otherRegulatingControl)
Utility to copy the "base" of an other instance of the same class
This utility does not copy the associations with other instances from
the instance to copy
|
static RegulatingControl |
create(java.lang.String id)
Factory of the class
|
boolean |
discreteIsSet()
Utility to test if the value of "discrete" has been set
|
RegulatingControlModeKind |
getMode()
Utility to return the "mode" enum
|
java.util.List<RegulatingCondEq> |
getRegulatingCondEq()
Utility to return the "regulatingCondEq" List of
"RegulatingCondEq" enum
|
java.util.List<TapChanger> |
getTapChanger()
Utility to return the "tapChanger" List of
"TapChanger" enum
|
float |
getTargetRange()
Utility to return the "targetRange" value
|
float |
getTargetValue()
Utility to return the "targetValue" value
|
Terminal |
getTerminal()
Utility to return the "terminal"
|
boolean |
isDiscrete()
Utility to return the "discrete" value
|
boolean |
modeIsSet()
Utility to test if the value of "mode" has been set
|
ConsistencyCheck |
modelConsistency()
Utility to check whether this class is consistent in a "merged" context
|
ConsistencyCheck |
modelConsistency(Subset subset)
Utility to check whether this class is consistent according to a subset
|
void |
readAttribute(java.lang.String class_name,
java.lang.String attr_name,
java.lang.String value,
CIMModel model)
Utility to read an attribute
This function is called by the CIMModel
|
void |
readResource(java.lang.String class_name,
java.lang.String resource_name,
java.lang.String id,
CIMModel model)
Utility to read a reference to a resource
This function is called by the CIMModel
|
boolean |
regulatingCondEqIsSet()
Utility to test if the value of "regulatingCondEq" has been set
|
void |
resolveLinks(CIMModel model,
CIMModel boundaryModel)
Utility to resolve the links at the end of parsing
|
void |
setDiscrete(boolean discreteValue)
Utility to set the "discrete" value
|
void |
setMode(RegulatingControlModeKind modeValue)
Utility to set the "mode" enum
|
void |
setTargetRange(float targetRangeValue)
Utility to set the "targetRange" value
|
void |
setTargetValue(float targetValueValue)
Utility to set the "targetValue" value
|
void |
setTerminal(Terminal terminalValue,
boolean setInverse)
Utility to set the "terminalValue"
|
boolean |
tapChangerIsSet()
Utility to test if the value of "tapChanger" has been set
|
boolean |
targetRangeIsSet()
Utility to test if the value of "targetRange" has been set
|
boolean |
targetValueIsSet()
Utility to test if the value of "targetValue" has been set
|
boolean |
terminalIsSet()
Utility to test if the value of "terminal" has been set
|
void |
write(javax.xml.stream.XMLStreamWriter xmlsw,
boolean writeID)
Utility to write the content into the CIM XML format
|
void |
write(javax.xml.stream.XMLStreamWriter xmlsw,
Subset subset,
boolean writeID)
Utility to write the content this class into the CIM/XML format according
to a subset
|
aliasNameIsSet, copyBase, descriptionIsSet, getAliasName, getDescription, getName, nameIsSet, setAliasName, setDescription, setName
addToUnresolved, copyBase, getId, getSubset, isAddedToUnresolved, isFromBoundary, removeFromUnresolved, setFromBoundary, setId
public java.util.List<TapChanger> tapChanger
public boolean discrete
public java.util.List<RegulatingCondEq> regulatingCondEq
public float targetRange
public RegulatingControlModeKind mode
public float targetValue
public Terminal terminal
public java.lang.String idTerminal
protected RegulatingControl()
public java.util.List<TapChanger> getTapChanger()
public void addTapChanger(TapChanger tapChangerValue, boolean setInverse) throws LinkageException
tapChangerValue
- value to add within the ArrayListsetInverse
- boolean to specify whether to set the inverse association or notLinkageException
public boolean tapChangerIsSet()
public boolean isDiscrete()
public void setDiscrete(boolean discreteValue)
discreteValue
- value to setpublic boolean discreteIsSet()
public java.util.List<RegulatingCondEq> getRegulatingCondEq()
public void addRegulatingCondEq(RegulatingCondEq regulatingCondEqValue, boolean setInverse) throws LinkageException
regulatingCondEqValue
- value to add within the ArrayListsetInverse
- boolean to specify whether to set the inverse association or notLinkageException
public boolean regulatingCondEqIsSet()
public float getTargetRange()
public void setTargetRange(float targetRangeValue)
targetRangeValue
- value to setpublic boolean targetRangeIsSet()
public RegulatingControlModeKind getMode()
public void setMode(RegulatingControlModeKind modeValue)
modeValue
- operand to setpublic boolean modeIsSet()
public float getTargetValue()
public void setTargetValue(float targetValueValue)
targetValueValue
- value to setpublic boolean targetValueIsSet()
public Terminal getTerminal()
public boolean terminalIsSet()
public void setTerminal(Terminal terminalValue, boolean setInverse) throws LinkageException
terminalValue
- instance to setsetInverse
- boolean to specify whether to set the inverse association
or notLinkageException
public static RegulatingControl create(java.lang.String id)
id
- id of the class RegulatingControl to createpublic void clearContent(Subset subset)
clearContent
in class IdentifiedObject
subset
- subset to cleanpublic void readAttribute(java.lang.String class_name, java.lang.String attr_name, java.lang.String value, CIMModel model) throws InterpretationException
readAttribute
in class IdentifiedObject
class_name
- the read name of classattr_name
- the read name of attributevalue
- the read value of the attributemodel
- the interface to the model this class belongs toInterpretationException
public void readResource(java.lang.String class_name, java.lang.String resource_name, java.lang.String id, CIMModel model) throws InterpretationException, LinkageException
readResource
in class IdentifiedObject
class_name
- the read name of classresource_name
- the read name of the associated resourceid
- the id of the associated resourcemodel
- the model this class belongs toInterpretationException
LinkageException
public void write(javax.xml.stream.XMLStreamWriter xmlsw, boolean writeID)
write
in class IdentifiedObject
writeID
- specifies whether to write the XML "id" attribute (this is used for describing concrete class)xmlsw
- XMLStreamWriter where are stored the elements to writepublic void write(javax.xml.stream.XMLStreamWriter xmlsw, Subset subset, boolean writeID)
write
in class IdentifiedObject
subset
- the subset defining the context in which to write this classwriteID
- specifies whether to write the XML "id" attribute (this is used for describing concrete class)xmlsw
- the stream in which are stored the elements to writepublic void resolveLinks(CIMModel model, CIMModel boundaryModel) throws LinkageException
resolveLinks
in class IdentifiedObject
model
- the model this class belongs toboundaryModel
- the model that gather data about the boundarySet, used
as a resource force links resolvingLinkage
- ExceptionLinkageException
public ConsistencyCheck modelConsistency(Subset subset)
modelConsistency
in class IdentifiedObject
subset
- the subset defining the context in which to check whether this class is consistentpublic ConsistencyCheck modelConsistency()
modelConsistency
in class IdentifiedObject
public void copyBase(RegulatingControl otherRegulatingControl)
otherRegulatingControl
- the instance to copyprotected void clearAssociations(Subset subset)
clearAssociations
in class IdentifiedObject
subset
- the subset from which to clear the associations of this classpublic RegulatingControl clone()
clone
in class IdentifiedObject