Package com.sun.tools.xjc.api.impl.s2j
Class PropertyImpl
java.lang.Object
com.sun.tools.xjc.api.impl.s2j.PropertyImpl
- All Implemented Interfaces:
Property
- Author:
- Kohsuke Kawaguchi
-
Field Summary
Modifier and TypeFieldDescriptionprotected final JCodeModel
protected final QName
protected final FieldOutline
protected final Mapping
-
Method Summary
-
Field Details
-
fr
-
elementName
-
parent
-
codeModel
-
-
Method Details
-
name
Description copied from interface:Property
The name of the property.This method returns a valid identifier suitable for the use as a variable name.
-
rawName
Returns raw schema name for simpleType property. May return null for other types. -
elementName
Description copied from interface:Property
Name of the XML element that corresponds to the property.Each child of a wrapper style element corresponds with an element, and this method returns that name.
- Specified by:
elementName
in interfaceProperty
- Returns:
- always non-null valid
QName
.
-
type
Description copied from interface:Property
The Java type of the property.- Specified by:
type
in interfaceProperty
- Returns:
- always non-null.
JType
is a representation of a Java type in a codeModel. If you just need the fully-qualified class name, callJType.fullName()
.
-