Package jaxb

Class Commodity


  • public class Commodity
    extends Object

    Java class for anonymous complex type.

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

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
           <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="pvequiv" type="{http://www.w3.org/2001/XMLSchema}float" default="1" />
           <attribute name="subnetworks" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="pathfull" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • Commodity

        public Commodity()
    • Method Detail

      • getId

        public long getId()
        Gets the value of the id property.
      • setId

        public void setId​(long value)
        Sets the value of the id property.
      • 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
      • getPvequiv

        public float getPvequiv()
        Gets the value of the pvequiv property.
        Returns:
        possible object is Float
      • setPvequiv

        public void setPvequiv​(Float value)
        Sets the value of the pvequiv property.
        Parameters:
        value - allowed object is Float
      • getSubnetworks

        public String getSubnetworks()
        Gets the value of the subnetworks property.
        Returns:
        possible object is String
      • setSubnetworks

        public void setSubnetworks​(String value)
        Sets the value of the subnetworks property.
        Parameters:
        value - allowed object is String
      • isPathfull

        public boolean isPathfull()
        Gets the value of the pathfull property.
        Returns:
        possible object is Boolean
      • setPathfull

        public void setPathfull​(Boolean value)
        Sets the value of the pathfull property.
        Parameters:
        value - allowed object is Boolean