Top Description Fields Constructors Methods
com.sun.tools.xjc.outline

public final Enum Aspect

extends Enum<Aspect>
Class Inheritance
Imports
com.sun.tools.xjc.generator.bean.ImplStructureStrategy

Sometimes a single JAXB-generated bean spans across multiple Java classes/interfaces. We call them "aspects of a bean".

This is an enumeration of all possible aspects.

Author
Kohsuke Kawaguchi TODO: move this to the model package. We cannot do this before JAXB3 because of old plugins

Field Summary

Modifier and TypeField and Description
public static final Aspect
EXPOSED

The exposed part of the bean.

public static final Aspect
IMPLEMENTATION

The part of the bean that holds all the implementations.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Aspect
public static Aspect[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

EXPOSEDback to summary
public static final Aspect EXPOSED

The exposed part of the bean.

This corresponds to the content interface when we are geneting one. This would be the same as the IMPLEMENTATION when we are just generating beans.

This could be an interface, or it could be a class. We don't have any other ImplStructureStrategy at this point, but generally you can't assume anything about where this could be or whether that's equal to IMPLEMENTATION.

IMPLEMENTATIONback to summary
public static final Aspect IMPLEMENTATION

The part of the bean that holds all the implementations.

This is always a class, never an interface.

Constructor Detail

Aspectback to summary
private Aspect()

Method Detail

valueOfback to summary
public static Aspect valueOf(String name)
valuesback to summary
public static Aspect[] values()