Purpose: Model an attribute for code generation purposes.
| Modifier and Type | Field and Description |
|---|---|
| protected String |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| private void | adjustInitialValue(Map<String, Set<String>> typeNameMap)
Parses the initial value, removing the package name for each type (and adding the appropriate import) if the type is unambiguous. |
| protected void | |
| public String | |
| protected abstract String | |
| protected void | |
| public void | |
| public void | writeBody(CodeGenerator generator)
Implements abstract org. |
| initialValue | back to summary |
|---|---|
| protected String initialValue | |
| AttributeDefinition | back to summary |
|---|---|
| protected AttributeDefinition() | |
| adjustInitialValue | back to summary |
|---|---|
| private void adjustInitialValue(Map<String, Set<String>> typeNameMap) Parses the initial value, removing the package name for each type (and adding the appropriate import) if the type is unambiguous. | |
| adjustTypeNames | back to summary |
|---|---|
| protected void adjustTypeNames(Map<String, Set<String>> typeNameMap) | |
| getInitialValue | back to summary |
|---|---|
| public String getInitialValue() | |
| getTypeName | back to summary |
|---|---|
| protected abstract String getTypeName() | |
| putTypeNamesInMap | back to summary |
|---|---|
| protected void putTypeNamesInMap(Map<String, Set<String>> typeNameMap) Used for calculating imports. @see org.eclipse.persistence.internal.codegen.ClassDefinition#calculateImports() | |
| setInitialValue | back to summary |
|---|---|
| public void setInitialValue(String initialValue) | |
| writeBody | back to summary |
|---|---|
| public void writeBody(CodeGenerator generator) Implements abstract org. Doc from org. Write the code out to the generator's stream.
| |