That is, XJC'll require that the IDREF belongs to the same symbol space as the ID. Having this concept allows us to assign more specific type to IDREF.
See the design document for detail.
| Modifier and Type | Field and Description |
|---|---|
| private final JCodeModel | |
| private JType |
| Access | Constructor and Description |
|---|---|
| public |
| codeModel | back to summary |
|---|---|
| private final JCodeModel codeModel | |
| type | back to summary |
|---|---|
| private JType type | |
| SymbolSpace | back to summary |
|---|---|
| public SymbolSpace(JCodeModel _codeModel) | |
| getType | back to summary |
|---|---|
| public JType getType() Gets the Java type of this symbol space. A symbol space is said to have a Java type X if all classes pointed by IDs belonging to this symbol space are assignable to X. | |
| setType | back to summary |
|---|---|
| public void setType(JType _type) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |