Support > Repository > Appendix

We will explain the naming convention concerning Wagby's "name", details of reserved words and usable characters.

Please specify two or more characters for "length" of model name (English) and model item name (English).

For example, "i" and "c" are single letters and can not be used.

The following words are reserved words and can not be used as item names.

Reserved words in Java

abstract
assert
boolean
break
byte
case
catch
char
class
const
continue
default
do
double
enum
else
extends
false
final
finally
float
for
goto
if
implements
import
instanceof
int
interface
long
native
new
null
package
page
private
protected
public
return
short
static
strictfp
super
switch
synchronized
this
throw
throws
transient
true
try
void
volatile
while
Alphabet Letters are not case sensitive.Both abstract, abstract and ABSTRACT are reserved words.
In future Java, reserved words may be added.Please note.

Other reserved words

action
and (JSTLで利用)
application
choose
content
css
customize
div (JSTLで利用)
empty (JSTLで利用)
error
errorcode
exception
eq (JSTLで利用)
ge (JSTLで利用)
gt (JSTLで利用)
help
hour_m
id
img
item
jpermission_m
jprincipal
jshparamを含む名前
juser
label
lt
minute_m
mod (JSTLで利用)
movestep_m
ne (JSTLで利用)
not (JSTLで利用)
now
out
or (JSTLで利用)
pageContext
request
response
session
system
xmlで始まる名前
WEB-INF

Model name and model ID are also used as XML element names. Therefore, you can not specify characters that can not be used as XML names.

Specifically, the following rules apply.

  • The first letter can use letters such as half-width alphabets, full-width Hiragana, full-width katakana, kanji, "_ (underscore)", and so on.
  • In addition to the characters that can be used for the first character after the second character, you can use half-width numbers and so on.
  • Hankaku katakana, double-byte numerals, double-byte alphabetic characters, symbols can not be used.

For details of the characters that can be used as XML names, see W3C Recommendation of XML 1.0 (http://www.w3.org/TR/2004/REC-xml-20040204/#CharClassesPlease look at.