simpleType temporal-type

simpleType {http://java.sun.com/xml/ns/persistence/orm}temporal-type

Type Heirarchy
{http://www.w3.org/2001/XMLSchema}string (by restriction)
 {http://www.w3.org/2001/XMLSchema}normalizedString (by restriction)
  {http://www.w3.org/2001/XMLSchema}token (by restriction)
   {http://java.sun.com/xml/ns/persistence/orm}temporal-type
Derived Types
{http://java.sun.com/xml/ns/persistence/orm}temporal-type
 {http://java.sun.com/xml/ns/persistence/orm}temporal (by restriction)
Target Namespacehttp://java.sun.com/xml/ns/persistence/orm
Declared Namespacesxmlns:orm=http://java.sun.com/xml/ns/persistence/orm
xmlns:xsd=http://www.w3.org/2001/XMLSchema


Source

<xsd:simpleType name="temporal-type">
    <
xsd:annotation>
        <
xsd:documentation>
public enum TemporalType {
DATE, // java.sql.Date
TIME, // java.sql.Time
TIMESTAMP // java.sql.Timestamp
}
        
</xsd:documentation>
    </
xsd:annotation>
    <
xsd:restriction base="xsd:token">
        <
xsd:enumeration value="DATE"/>
        <
xsd:enumeration value="TIME"/>
        <
xsd:enumeration value="TIMESTAMP"/>
    </
xsd:restriction>
</
xsd:simpleType>


Documentation

public enum TemporalType {
  DATE, // java.sql.Date
  TIME, // java.sql.Time
  TIMESTAMP // java.sql.Timestamp
}


simpleType temporal-type


Stylus Studio XML Schema Library Home
Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio®, a product from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2006 All Rights Reserved.