integer

Top  Previous  Next

- minValue [-2147483648]

- maxValue [2147483647]

- minExclusive [-2147483648]

- maxExclusive [2147483647]

 

Attributes

 

minValue: The min allowed value, including the specified value. So that if minValue="0", then 0 would be allowed as one of the values.

 

maxValue: The max allowed value, including the specified value. So that if maxValue="10", then 10 would be allowed as one of the values.

 

minExclusive: The min allowed value, excluding the specified value. So that if minExclusive="0", then 0 would not be allowed as one of the values.

 

maxExclusive: The max allowed value, excluding the specified value. So that if maxExlusive="10", then 10 would not be allowed as one of the values.

 

The Schema

 

<schema packageScope="com.wickedfastsolutions.demo.domain">
  <TicketTracker>
      <version parent="TicketTracker" fixed="1.0" type="double" scale="1">1.0</version>
      <Ticket minOccurs="0" maxOccurs="unbounded" identity="TicketID">
          <CreationDate type="date" dateFormat="xsd:datetime">2012-05-26T00:00:00</CreationDate>
          <UserID type="integer" minValue="0">123456</UserID>
          <TicketID type="integer" minExclusive="0">123456</TicketID>
          <RelatesToTicketID minOccurs="0" type="integer" minValue="0">789</RelatesToTicketID>
          <Type type="set" values="Bug(B)|Feature(F)" separator="|">B</Type>
          <Status type="set" values="Open(O),Closed(C),Pending(P)">O</Status>
          <Approved minOccurs="0" type="boolean" truthValues="true" regex="true|false">true</Approved>
          <Date type="date" dateFormat="MM/dd/yyyy">07/14/2012</Date>
          <Title maxLength="256">Ticket Title</Title>
          <Description maxLength="4096">Ticket Description</Description>
          <PageViews type="integer">0</PageViews>
      </Ticket>
  </TicketTracker>
</schema>