org.jvnet.hyperjaxb3.ejb.strategy.model.base
Class AbstractAdaptEnumPropertyInfo

java.lang.Object
  extended by org.jvnet.hyperjaxb3.ejb.strategy.model.base.AbstractAdaptPropertyInfo
      extended by org.jvnet.hyperjaxb3.ejb.strategy.model.base.AbstractAdaptEnumPropertyInfo
All Implemented Interfaces:
CreatePropertyInfos, PropertyInfoProcessor<Collection<com.sun.tools.xjc.model.CPropertyInfo>,ProcessModel>
Direct Known Subclasses:
AdaptSingleEnumNonReferenceAsEnumValue

public abstract class AbstractAdaptEnumPropertyInfo
extends AbstractAdaptPropertyInfo


Constructor Summary
AbstractAdaptEnumPropertyInfo()
           
 
Method Summary
protected abstract  com.sun.tools.xjc.outline.FieldOutline generateField(com.sun.tools.xjc.model.CPropertyInfo core, com.sun.tools.xjc.generator.bean.ClassOutlineImpl classOutline, com.sun.tools.xjc.model.CPropertyInfo propertyInfo)
           
 com.sun.xml.bind.v2.model.core.PropertyKind getDefaultGeneratedPropertyKind(ProcessModel context, com.sun.tools.xjc.model.CPropertyInfo propertyInfo)
           
 String getDefaultGeneratedPropertyName(ProcessModel context, com.sun.tools.xjc.model.CPropertyInfo propertyInfo)
           
 Collection<com.sun.tools.xjc.model.CPropertyInfo> process(ProcessModel context, com.sun.tools.xjc.model.CPropertyInfo core)
          Creates a collection of properties for the given property.
 
Methods inherited from class org.jvnet.hyperjaxb3.ejb.strategy.model.base.AbstractAdaptPropertyInfo
createAttributePropertyInfo, createCustomizations, createElementPropertyInfo, createPropertyInfo, getDefaultGeneratedPropertyCollectionMode, getDefaultGeneratedPropertyQName, getPropertyType, getSchemaComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAdaptEnumPropertyInfo

public AbstractAdaptEnumPropertyInfo()
Method Detail

getDefaultGeneratedPropertyKind

public final com.sun.xml.bind.v2.model.core.PropertyKind getDefaultGeneratedPropertyKind(ProcessModel context,
                                                                                         com.sun.tools.xjc.model.CPropertyInfo propertyInfo)
Specified by:
getDefaultGeneratedPropertyKind in class AbstractAdaptPropertyInfo

getDefaultGeneratedPropertyName

public String getDefaultGeneratedPropertyName(ProcessModel context,
                                              com.sun.tools.xjc.model.CPropertyInfo propertyInfo)
Specified by:
getDefaultGeneratedPropertyName in class AbstractAdaptPropertyInfo

process

public Collection<com.sun.tools.xjc.model.CPropertyInfo> process(ProcessModel context,
                                                                 com.sun.tools.xjc.model.CPropertyInfo core)
Description copied from interface: CreatePropertyInfos
Creates a collection of properties for the given property.

Parameters:
context - processing context.
core - property to be processed.
Returns:
Collection of properties created for the given property. Must not be null, if nothing is created, return an empty collection instead.

generateField

protected abstract com.sun.tools.xjc.outline.FieldOutline generateField(com.sun.tools.xjc.model.CPropertyInfo core,
                                                                        com.sun.tools.xjc.generator.bean.ClassOutlineImpl classOutline,
                                                                        com.sun.tools.xjc.model.CPropertyInfo propertyInfo)


Copyright © 2005-2011. All Rights Reserved.