|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.tools.xjc.api.impl.s2j.PropertyImpl
public final class PropertyImpl
| Field Summary | |
|---|---|
protected JCodeModel |
codeModel
|
protected QName |
elementName
|
protected FieldOutline |
fr
|
protected Mapping |
parent
|
| Method Summary | |
|---|---|
QName |
elementName()
Name of the XML element that corresponds to the property. |
String |
name()
The name of the property. |
QName |
rawName()
Returns raw schema name for simpleType property. |
JType |
type()
The Java type of the property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final FieldOutline fr
protected final QName elementName
protected final Mapping parent
protected final JCodeModel codeModel
| Method Detail |
|---|
public final String name()
PropertyThis method returns a valid identifier suitable for the use as a variable name.
name in interface Propertypublic final QName rawName()
rawName in interface Propertypublic final QName elementName()
PropertyEach child of a wrapper style element corresponds with an element, and this method returns that name.
elementName in interface PropertyQName.public final JType type()
Property
type in interface PropertyJType is a representation of a Java type in a codeModel.
If you just need the fully-qualified class name, call JType.fullName().
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||