java.lang.Object
com.powsybl.openrao.data.craccreation.creator.fbconstraint.xsd.OutageType
All Implemented Interfaces:
Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2

public class OutageType extends Object implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2

Java class for outageType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="outageType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="branch" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="from" use="required" type="{flowbased}nodeType" />
                 <attribute name="to" use="required" type="{flowbased}nodeType" />
                 <attribute name="order">
                   <simpleType>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                       <pattern value="[1-9]|[A-Z]"/>
                     </restriction>
                   </simpleType>
                 </attribute>
                 <attribute name="elementName" type="{flowbased}nonEmptyString" />
                 <attribute name="eic" use="required" type="{flowbased}nonEmptyString" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="hvdcVH" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="from" use="required" type="{flowbased}nodeType" />
                 <attribute name="to" use="required" type="{flowbased}nodeType" />
                 <attribute name="eic" use="required" type="{flowbased}nonEmptyString" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="name" type="{flowbased}nonEmptyString" />
       <attribute name="id" use="required" type="{flowbased}idString" />
       <attribute name="location" type="{flowbased}nonEmptyString" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • OutageType

      public OutageType()
  • Method Details

    • getBranch

      public List<OutageType.Branch> getBranch()
      Gets the value of the branch property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the branch property.

      For example, to add a new item, do as follows:

          getBranch().add(newItem);
       

      Objects of the following type(s) are allowed in the list OutageType.Branch

    • getHvdcVH

      public List<OutageType.HvdcVH> getHvdcVH()
      Gets the value of the hvdcVH property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the hvdcVH property.

      For example, to add a new item, do as follows:

          getHvdcVH().add(newItem);
       

      Objects of the following type(s) are allowed in the list OutageType.HvdcVH

    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • getLocation

      public String getLocation()
      Gets the value of the location property.
      Returns:
      possible object is String
    • setLocation

      public void setLocation(String value)
      Sets the value of the location property.
      Parameters:
      value - allowed object is String
    • clone

      public Object clone()
      Overrides:
      clone in class Object
    • copyTo

      public Object copyTo(Object target)
      Specified by:
      copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2
    • copyTo

      public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
      Specified by:
      copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2
    • createNewInstance

      public Object createNewInstance()
      Specified by:
      createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2
    • equals

      public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object