Package com.powsybl.dynawaltz.builders
Record Class ModelConfig
java.lang.Object
java.lang.Record
com.powsybl.dynawaltz.builders.ModelConfig
public record ModelConfig(String lib, String alias, String internalModelPrefix, List<String> properties)
extends Record
- Author:
- Laurent Issertial <laurent.issertial at rte-france.com>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionalias()
Returns the value of thealias
record component.final boolean
Indicates whether some other object is "equal to" this one.boolean
final int
hashCode()
Returns a hash code value for this object.boolean
hasProperty
(String property) boolean
Returns the value of theinternalModelPrefix
record component.boolean
boolean
boolean
lib()
Returns the value of thelib
record component.name()
Returns the value of theproperties
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ModelConfig
Creates an instance of aModelConfig
record class.- Parameters:
lib
- the value for thelib
record componentalias
- the value for thealias
record componentinternalModelPrefix
- the value for theinternalModelPrefix
record componentproperties
- the value for theproperties
record component
-
-
Method Details
-
isControllable
public boolean isControllable() -
isDangling
public boolean isDangling() -
isSynchronized
public boolean isSynchronized() -
hasTransformer
public boolean hasTransformer() -
hasAuxiliary
public boolean hasAuxiliary() -
hasProperty
-
name
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
lib
Returns the value of thelib
record component.- Returns:
- the value of the
lib
record component
-
alias
Returns the value of thealias
record component.- Returns:
- the value of the
alias
record component
-
internalModelPrefix
Returns the value of theinternalModelPrefix
record component.- Returns:
- the value of the
internalModelPrefix
record component
-
properties
Returns the value of theproperties
record component.- Returns:
- the value of the
properties
record component
-