Showing:

Annotations
Attributes
Diagrams
Properties
Source
Used by
Element cay:db-attribute
Namespace http://cayenne.apache.org/schema/3.0/modelMap
Annotations
A database column.
Diagram
Diagram modelMap20.tmp#id20 modelMap20.tmp#id21 modelMap20.tmp#id22 modelMap20.tmp#id23 modelMap20.tmp#id24 modelMap20.tmp#id25 modelMap20.tmp#id26
Properties
content: complex
Used by
Element cay:db-entity
Attributes
QName Type Fixed Default Use Annotation
isGenerated xs:boolean optional
isMandatory xs:boolean optional
isPrimaryKey xs:boolean optional
If true, the value of attribute is unique and used as a primary key identifier.
length xs:integer optional
name xs:string required
scale xs:integer optional
type xs:string required
Source
<xs:element name="db-attribute">
  <xs:annotation>
    <xs:documentation>A database column.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute name="isMandatory" type="xs:boolean"/>
    <xs:attribute name="isPrimaryKey" type="xs:boolean">
      <xs:annotation>
        <xs:documentation>If true, the value of attribute is unique and used as a primary key identifier.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="isGenerated" use="optional" type="xs:boolean"/>
    <xs:attribute name="length" type="xs:integer"/>
    <xs:attribute name="name" use="required" type="xs:string"/>
    <xs:attribute name="scale" type="xs:integer"/>
    <xs:attribute name="type" use="required" type="xs:string"/>
  </xs:complexType>
</xs:element>
Schema location file:/Users/ari/svn/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/resources/org/apache/cayenne/schema/3.0/modelMap.xsd
Attribute cay:db-attribute/@isMandatory
Namespace No namespace
Type xs:boolean
Properties
content: simple
Used by
Source
<xs:attribute name="isMandatory" type="xs:boolean"/>
Schema location file:/Users/ari/svn/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/resources/org/apache/cayenne/schema/3.0/modelMap.xsd
Attribute cay:db-attribute/@isPrimaryKey
Namespace No namespace
Annotations
If true, the value of attribute is unique and used as a primary key identifier.
Type xs:boolean
Properties
content: simple
Used by
Source
<xs:attribute name="isPrimaryKey" type="xs:boolean">
  <xs:annotation>
    <xs:documentation>If true, the value of attribute is unique and used as a primary key identifier.</xs:documentation>
  </xs:annotation>
</xs:attribute>
Schema location file:/Users/ari/svn/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/resources/org/apache/cayenne/schema/3.0/modelMap.xsd
Attribute cay:db-attribute/@isGenerated
Namespace No namespace
Type xs:boolean
Properties
use: optional
Used by
Source
<xs:attribute name="isGenerated" use="optional" type="xs:boolean"/>
Schema location file:/Users/ari/svn/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/resources/org/apache/cayenne/schema/3.0/modelMap.xsd
Attribute cay:db-attribute/@length
Namespace No namespace
Type xs:integer
Properties
content: simple
Used by
Source
<xs:attribute name="length" type="xs:integer"/>
Schema location file:/Users/ari/svn/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/resources/org/apache/cayenne/schema/3.0/modelMap.xsd
Attribute cay:db-attribute/@name
Namespace No namespace
Type xs:string
Properties
use: required
Used by
Source
<xs:attribute name="name" use="required" type="xs:string"/>
Schema location file:/Users/ari/svn/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/resources/org/apache/cayenne/schema/3.0/modelMap.xsd
Attribute cay:db-attribute/@scale
Namespace No namespace
Type xs:integer
Properties
content: simple
Used by
Source
<xs:attribute name="scale" type="xs:integer"/>
Schema location file:/Users/ari/svn/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/resources/org/apache/cayenne/schema/3.0/modelMap.xsd
Attribute cay:db-attribute/@type
Namespace No namespace
Type xs:string
Properties
use: required
Used by
Source
<xs:attribute name="type" use="required" type="xs:string"/>
Schema location file:/Users/ari/svn/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/resources/org/apache/cayenne/schema/3.0/modelMap.xsd