org.ujoframework.orm.annot
Annotation Type Table


@Retention(value=RUNTIME)
@Target(value={FIELD,TYPE})
public @interface Table

Use the annotation to mark a UjoProperty static field like XML Attribute.

See Also:
View

Optional Element Summary
 java.lang.String alias
          Table alias name.
 java.lang.String name
          A named parameter for the table name.
 java.lang.String sequence
          Name of DB sequence.
 java.lang.String schema
          Name of schema.
 java.lang.String value
          A shortcut for the attribute "name" of Table.
 

name

public abstract java.lang.String name
A named parameter for the table name. Default value is taken from a relation property name.

Default:
""

value

public abstract java.lang.String value
A shortcut for the attribute "name" of Table.

See Also:
name()
Default:
""

alias

public abstract java.lang.String alias
Table alias name. The default value is taken from a name.

Default:
""

schema

public abstract java.lang.String schema
Name of schema. If the value is empty than a default database schema is used.

Default:
""

sequence

public abstract java.lang.String sequence
Name of DB sequence. The value is not used by default, however a special implementation of the UjoSequencer can do it.

Default:
""


Copyright © 2010. All Rights Reserved.