public final class Candidate extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
addObjectFactoryForClass(com.sun.codemodel.JDefinedClass clazz)
For the given class locate and add Object Factory classes to the map.
|
boolean |
canBeRemoved()
Has given candidate green light to be removed?
|
String |
getClassName()
Container class name
|
com.sun.codemodel.JDefinedClass |
getClazz()
Container class
|
com.sun.codemodel.JFieldVar |
getField()
The only field in container class (collection property).
|
com.sun.codemodel.JClass |
getFieldClass()
The class of the only field in container class (collection interface or particular implementation).
|
String |
getFieldName()
The name of the only field in container class.
|
com.sun.tools.xjc.model.CPropertyInfo |
getFieldPropertyInfo()
The corresponding property info of the only field in container class.
|
String |
getFieldTargetNamespace()
The XSD namespace of the property associated with a field.
|
Collection<com.sun.codemodel.JDefinedClass> |
getObjectFactoryClasses()
Object Factory classes for value (implementation) classes, interface classes and extra packages.
|
Collection<ParametrisationInfo> |
getParametrisationInfos()
The list of parametrisation classes of the field (collection types).
|
Map<com.sun.codemodel.JMethod,ScopedMethodInfo> |
getScopedFactoryMethods()
Return information about scoped methods that have this candidate as a scope.
|
void |
incrementSubstitutions()
Increments number of substitutions for this candidate.
|
boolean |
isValueObjectDisabled()
Returns
true if the setting <jaxb:globalBindings generateValueClass="false"> is active. |
String |
toString() |
void |
unmarkForRemoval()
Signal that this candidate should not be removed from model on some reason.
|
public com.sun.codemodel.JDefinedClass getClazz()
public String getClassName()
public com.sun.codemodel.JFieldVar getField()
public String getFieldName()
public com.sun.codemodel.JClass getFieldClass()
public com.sun.tools.xjc.model.CPropertyInfo getFieldPropertyInfo()
public String getFieldTargetNamespace()
public Collection<ParametrisationInfo> getParametrisationInfos()
List<String> this collection is empty.public Map<com.sun.codemodel.JMethod,ScopedMethodInfo> getScopedFactoryMethods()
public Collection<com.sun.codemodel.JDefinedClass> getObjectFactoryClasses()
public boolean addObjectFactoryForClass(com.sun.codemodel.JDefinedClass clazz)
true if value class generation is enabledpublic boolean isValueObjectDisabled()
true if the setting <jaxb:globalBindings generateValueClass="false"> is active.public boolean canBeRemoved()
public void incrementSubstitutions()
public void unmarkForRemoval()
Copyright © 2022–2023. All rights reserved.