Package jaxb
Class Commodity
- java.lang.Object
-
- jaxb.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 Summary
Constructors Constructor Description Commodity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getId()
Gets the value of the id property.String
getName()
Gets the value of the name property.float
getPvequiv()
Gets the value of the pvequiv property.String
getSubnetworks()
Gets the value of the subnetworks property.boolean
isPathfull()
Gets the value of the pathfull property.void
setId(long value)
Sets the value of the id property.void
setName(String value)
Sets the value of the name property.void
setPathfull(Boolean value)
Sets the value of the pathfull property.void
setPvequiv(Float value)
Sets the value of the pvequiv property.void
setSubnetworks(String value)
Sets the value of the subnetworks property.
-
-
-
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 isString
-
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 isFloat
-
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 isString
-
isPathfull
public boolean isPathfull()
Gets the value of the pathfull property.- Returns:
- possible object is
Boolean
-
-