| Modifier and Type | Field and Description |
|---|---|
| private JClass | clazz
Cached for both performance and single identity. |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | CClassRef(Model model, XSComponent source, BIClass
The decl, CCustomizations customizations)BIClass declaration that has BIClass#getExistingClassRef()
|
| public | CClassRef(Model model, XSComponent source, BIEnum
The decl, CCustomizations customizations)BIClass declaration that has BIEnum#ref
|
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public QName | getElementName()
Implements org. Gets the element name of the class. |
| public CNonElement | getInfo()
Implements com.
Deprecated
Guaranteed to return this. |
| public CClassInfo | getScope()
Implements org. If non-null, this element is only active inside the given scope. |
| public CElement | getSubstitutionHead()
Implements org. If this element can substitute another element, return that element. |
| public NType | getType()
Implements org. Gets the underlying Java type that object represents. |
| public QName | getTypeName()
Implements org. Gets the primary XML type ANYTYPE_NAME of the class. |
| public boolean | isAbstract()
Overrides com. Implements com. Returns true iff this element is an abstract element. |
| public boolean | isBoxedType()
Implements com. Returns true iff this type represents a class that has a unboxed form. |
| public boolean | isSimpleType()
Implements org. Returns true if this maps to text in XML, without any attribute nor child elements. |
| public void | setAbstract()
Overrides com. Implements com. Marks this element as an abstract element. |
| public JClass | toType(Outline o, Aspect aspect)
Implements com. Returns the representation of this type in code model. |
| clazz | back to summary |
|---|---|
| private JClass clazz Cached for both performance and single identity. | |
| fullyQualifiedClassName | back to summary |
|---|---|
| private final String fullyQualifiedClassName | |
| CClassRef | back to summary |
|---|---|
public CClassRef(Model model, XSComponent source, BIClass decl, CCustomizations customizations)
| |
| CClassRef | back to summary |
|---|---|
public CClassRef(Model model, XSComponent source, BIEnum decl, CCustomizations customizations)
| |
| fullName | back to summary |
|---|---|
| public String fullName() Implements com. Doc from com. Human readable name of this type.
| |
| getElementName | back to summary |
|---|---|
| public QName getElementName() Implements org. Doc from org. Gets the element name of the class.
| |
| getInfo | back to summary |
|---|---|
| public CNonElement getInfo() Implements com. Deprecated
Guaranteed to return this.
| |
| getScope | back to summary |
|---|---|
| public CClassInfo getScope() Implements org. Doc from org. If non-null, this element is only active inside the given scope.
| |
| getSubstitutionHead | back to summary |
|---|---|
| public CElement getSubstitutionHead() Implements org. Doc from org. If this element can substitute another element, return that element. Substitutability of elements are transitive.
| |
| getType | back to summary |
|---|---|
| public NType getType() Implements org. Doc from org. Gets the underlying Java type that object represents.
| |
| getTypeName | back to summary |
|---|---|
| public QName getTypeName() Implements org. Doc from org. Gets the primary XML type ANYTYPE_NAME of the class. A Java type can be mapped to multiple XML types, but one of them is considered "primary" and used when we generate a schema.
| |
| isAbstract | back to summary |
|---|---|
| public boolean isAbstract() Overrides com. Implements com. Doc from com. Returns true iff this element is an abstract element.
| |
| isBoxedType | back to summary |
|---|---|
| public boolean isBoxedType() Implements com. Doc from com. Returns true iff this type represents a class that has a unboxed form.
For example, for
| |
| isSimpleType | back to summary |
|---|---|
| public boolean isSimpleType() Implements org. Doc from org. Returns true if this maps to text in XML, without any attribute nor child elements.
| |
| setAbstract | back to summary |
|---|---|
| public void setAbstract() Overrides com. Implements com. Doc from com. Marks this element as an abstract element.
| |
| toType | back to summary |
|---|---|
| public JClass toType(Outline o, Aspect aspect) Implements com. Doc from com. Returns the representation of this type in code model.
This operation requires the whole model to be built,
and hence it takes Under some code generation strategy, some bean classes are considered implementation specific (such as impl.FooImpl class) These classes always have accompanying "exposed" type (such as the Foo interface). For such Jekyll and Hyde type, the aspect parameter determines which personality is returned.
| |