Class VecPowerConsumption

java.lang.Object
com.foursoft.harness.vec.v113.VecPowerConsumption
All Implemented Interfaces:
Identifiable, ModifiableIdentifiable, Visitable, Serializable

public class VecPowerConsumption extends Object implements Serializable, Identifiable, ModifiableIdentifiable, Visitable

Defines the power consumption of anEEComponent. AnEEComponentcan have multiple differentPowerConsumptionse.g. standby, maximum. AnEEComponentcan have multiplePowerConsumptions, but must not have more than onePowerConsumptionsof the sametype.

Java class for PowerConsumption complex type.

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


 <complexType name="PowerConsumption">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Type" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="Value" type="{http://www.prostep.org/ecad-if/2011/vec}NumericalValue"/>
       </sequence>
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • type

      protected String type

      The type of aPowerConsumption. This should be an enumeration of values defined in a conformance class.

    • value

      protected VecNumericalValue value

      Specifies the power consumption for this type ofPowerConsumption.

    • xmlId

      protected String xmlId
  • Constructor Details

    • VecPowerConsumption

      public VecPowerConsumption()
  • Method Details

    • getType

      public String getType()
      Gets the value of the type property.

      The type of aPowerConsumption. This should be an enumeration of values defined in a conformance class.

      Returns:
      possible object is String
    • setType

      public void setType(String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String
      See Also:
    • getValue

      public VecNumericalValue getValue()
      Gets the value of the value property.

      Specifies the power consumption for this type ofPowerConsumption.

      Returns:
      possible object is VecNumericalValue
    • setValue

      public void setValue(VecNumericalValue value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is VecNumericalValue
      See Also:
    • getXmlId

      public String getXmlId()
      Gets the value of the xmlId property.
      Specified by:
      getXmlId in interface Identifiable
      Returns:
      possible object is String
    • setXmlId

      public void setXmlId(String value)
      Sets the value of the xmlId property.
      Specified by:
      setXmlId in interface ModifiableIdentifiable
      Parameters:
      value - allowed object is String
    • accept

      public <R, E extends Throwable> R accept(Visitor<R,E> aVisitor) throws E
      Specified by:
      accept in interface Visitable
      Throws:
      E extends Throwable
    • toString

      public String toString()
      Overrides:
      toString in class Object