public class BaseVoltage extends IdentifiedObject
Modifier and Type | Field and Description |
---|---|
java.util.List<ConductingEquipment> |
conductingEquipment
Attribute "conductingEquipment"
Comment from profile:
Use association to ConductingEquipment only when there is no VoltageLevel container used.
|
boolean |
isDC
Attribute "isDC"
Comment from profile:
If true, this is a direct current base voltage and items assigned to this base voltage are also associated with a direct current capabilities.
|
float |
nominalVoltage
Attribute "nominalVoltage"
Comment from profile:
The PowerSystemResource's base voltage.
|
java.util.List<TopologicalNode> |
topologicalNode
Attribute "topologicalNode"
Comment from profile:
The topological nodes at the base voltage.
|
java.util.List<VoltageLevel> |
voltageLevel
Attribute "voltageLevel"
Comment from profile:
The VoltageLevels having this BaseVoltage.
|
aliasName, description, name
addedToUnresolved, fromBoundary, id, subset
Modifier | Constructor and Description |
---|---|
protected |
BaseVoltage()
Constructor of the class BaseVoltage
|
Modifier and Type | Method and Description |
---|---|
void |
addConductingEquipment(ConductingEquipment conductingEquipmentValue,
boolean setInverse)
Utility to add a value within the "conductingEquipment" ArrayList of
"ConductingEquipment"
|
void |
addTopologicalNode(TopologicalNode topologicalNodeValue,
boolean setInverse)
Utility to add a value within the "topologicalNode" ArrayList of
"TopologicalNode"
|
void |
addVoltageLevel(VoltageLevel voltageLevelValue,
boolean setInverse)
Utility to add a value within the "voltageLevel" ArrayList of
"VoltageLevel"
|
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
|
BaseVoltage |
clone()
Utility returning a copy of the "base" of this instance
This utility does not copy the associations with other instances
|
boolean |
conductingEquipmentIsSet()
Utility to test if the value of "conductingEquipment" has been set
|
void |
copyBase(BaseVoltage otherBaseVoltage)
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 BaseVoltage |
create(java.lang.String id)
Factory of the class
|
java.util.List<ConductingEquipment> |
getConductingEquipment()
Utility to return the "conductingEquipment" List of
"ConductingEquipment" enum
|
float |
getNominalVoltage()
Utility to return the "nominalVoltage" value
|
java.util.List<TopologicalNode> |
getTopologicalNode()
Utility to return the "topologicalNode" List of
"TopologicalNode" enum
|
java.util.List<VoltageLevel> |
getVoltageLevel()
Utility to return the "voltageLevel" List of
"VoltageLevel" enum
|
boolean |
isDC()
Utility to return the "isDC" value
|
boolean |
isDCIsSet()
Utility to test if the value of "isDC" 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
|
boolean |
nominalVoltageIsSet()
Utility to test if the value of "nominalVoltage" has been set
|
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
|
void |
resolveLinks(CIMModel model,
CIMModel boundaryModel)
Utility to resolve the links at the end of parsing
|
void |
setIsDC(boolean isDCValue)
Utility to set the "isDC" value
|
void |
setNominalVoltage(float nominalVoltageValue)
Utility to set the "nominalVoltage" value
|
boolean |
topologicalNodeIsSet()
Utility to test if the value of "topologicalNode" has been set
|
boolean |
voltageLevelIsSet()
Utility to test if the value of "voltageLevel" 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 boolean isDC
public java.util.List<TopologicalNode> topologicalNode
public java.util.List<VoltageLevel> voltageLevel
public float nominalVoltage
public java.util.List<ConductingEquipment> conductingEquipment
public boolean isDC()
public void setIsDC(boolean isDCValue)
isDCValue
- value to setpublic boolean isDCIsSet()
public java.util.List<TopologicalNode> getTopologicalNode()
public void addTopologicalNode(TopologicalNode topologicalNodeValue, boolean setInverse) throws LinkageException
topologicalNodeValue
- value to add within the ArrayListsetInverse
- boolean to specify whether to set the inverse association or notLinkageException
public boolean topologicalNodeIsSet()
public java.util.List<VoltageLevel> getVoltageLevel()
public void addVoltageLevel(VoltageLevel voltageLevelValue, boolean setInverse) throws LinkageException
voltageLevelValue
- value to add within the ArrayListsetInverse
- boolean to specify whether to set the inverse association or notLinkageException
public boolean voltageLevelIsSet()
public float getNominalVoltage()
public void setNominalVoltage(float nominalVoltageValue)
nominalVoltageValue
- value to setpublic boolean nominalVoltageIsSet()
public java.util.List<ConductingEquipment> getConductingEquipment()
public void addConductingEquipment(ConductingEquipment conductingEquipmentValue, boolean setInverse) throws LinkageException
conductingEquipmentValue
- value to add within the ArrayListsetInverse
- boolean to specify whether to set the inverse association or notLinkageException
public boolean conductingEquipmentIsSet()
public static BaseVoltage create(java.lang.String id)
id
- id of the class BaseVoltage 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(BaseVoltage otherBaseVoltage)
otherBaseVoltage
- the instance to copyprotected void clearAssociations(Subset subset)
clearAssociations
in class IdentifiedObject
subset
- the subset from which to clear the associations of this classpublic BaseVoltage clone()
clone
in class IdentifiedObject