java.lang.Object
org.bidib.jbidibc.decoder.schema.commontypes.PartialType

public class PartialType extends Object

Java class for PartialType complex type.

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

 <complexType name="PartialType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.decoderdb.de/schema/commonTypes/1.2}valueCalculation" minOccurs="0"/>
         <element ref="{http://www.decoderdb.de/schema/commonTypes/1.2}description" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="number" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
       <attribute name="possibleValues" use="required" type="{http://www.decoderdb.de/schema/commonTypes/1.2}rangeValues" />
       <attribute name="reset" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="disableOther" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="multiply" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • PartialType

      public PartialType()
  • Method Details

    • getValueCalculation

      public ValueCalculationType getValueCalculation()
      Gets the value of the valueCalculation property.
      Returns:
      possible object is ValueCalculationType
    • setValueCalculation

      public void setValueCalculation(ValueCalculationType value)
      Sets the value of the valueCalculation property.
      Parameters:
      value - allowed object is ValueCalculationType
    • getDescription

      public List<DescriptionType> getDescription()
      Gets the value of the description 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 description property.

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

          getDescription().add(newItem);
       

      Objects of the following type(s) are allowed in the list DescriptionType

    • getNumber

      public int getNumber()
      Gets the value of the number property.
    • setNumber

      public void setNumber(int value)
      Sets the value of the number property.
    • getPossibleValues

      public String getPossibleValues()
      Gets the value of the possibleValues property.
      Returns:
      possible object is String
    • setPossibleValues

      public void setPossibleValues(String value)
      Sets the value of the possibleValues property.
      Parameters:
      value - allowed object is String
    • isReset

      public Boolean isReset()
      Gets the value of the reset property.
      Returns:
      possible object is Boolean
    • setReset

      public void setReset(Boolean value)
      Sets the value of the reset property.
      Parameters:
      value - allowed object is Boolean
    • isDisableOther

      public Boolean isDisableOther()
      Gets the value of the disableOther property.
      Returns:
      possible object is Boolean
    • setDisableOther

      public void setDisableOther(Boolean value)
      Sets the value of the disableOther property.
      Parameters:
      value - allowed object is Boolean
    • getMultiply

      public Short getMultiply()
      Gets the value of the multiply property.
      Returns:
      possible object is Short
    • setMultiply

      public void setMultiply(Short value)
      Sets the value of the multiply property.
      Parameters:
      value - allowed object is Short
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • withValueCalculation

      public PartialType withValueCalculation(ValueCalculationType value)
    • withDescription

      public PartialType withDescription(DescriptionType... values)
    • withDescription

      public PartialType withDescription(Collection<DescriptionType> values)
    • withNumber

      public PartialType withNumber(int value)
    • withPossibleValues

      public PartialType withPossibleValues(String value)
    • withReset

      public PartialType withReset(Boolean value)
    • withDisableOther

      public PartialType withDisableOther(Boolean value)
    • withMultiply

      public PartialType withMultiply(Short value)