org.jvnet.hyperjaxb3.ejb.strategy.customizing.impl
Class DefaultCustomizing
java.lang.Object
org.jvnet.hyperjaxb3.ejb.strategy.customizing.impl.DefaultCustomizing
- All Implemented Interfaces:
- Customizing
public class DefaultCustomizing
- extends Object
- implements Customizing
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultCustomizing
public DefaultCustomizing()
findCustomizations
public <T> Collection<T> findCustomizations(com.sun.tools.xjc.model.Model model,
QName name)
- Specified by:
findCustomizations in interface Customizing
addCustomization
public void addCustomization(com.sun.tools.xjc.model.CCustomizable customizable,
QName name,
Object customization)
getDefaultCustomizations
public Persistence getDefaultCustomizations()
setDefaultCustomizations
public void setDefaultCustomizations(Persistence defaultCustomization)
getModelCustomization
public Persistence getModelCustomization(com.sun.tools.xjc.model.Model model)
getGeneratedId
public GeneratedId getGeneratedId(com.sun.tools.xjc.model.CClassInfo classInfo)
- Specified by:
getGeneratedId in interface Customizing
getGeneratedClass
public GeneratedClass getGeneratedClass(com.sun.tools.xjc.model.CPropertyInfo propertyInfo)
- Specified by:
getGeneratedClass in interface Customizing
getGeneratedProperty
public GeneratedProperty getGeneratedProperty(com.sun.tools.xjc.model.CPropertyInfo propertyInfo)
- Specified by:
getGeneratedProperty in interface Customizing
getGeneratedProperty
public GeneratedProperty getGeneratedProperty(com.sun.tools.xjc.model.CClassInfo classInfo,
String propertyName)
getId
public Id getId(com.sun.tools.xjc.model.CPropertyInfo property)
- Specified by:
getId in interface Customizing
getId
public Id getId(com.sun.tools.xjc.outline.FieldOutline property)
- Specified by:
getId in interface Customizing
getEmbeddedId
public EmbeddedId getEmbeddedId(com.sun.tools.xjc.model.CPropertyInfo property)
- Specified by:
getEmbeddedId in interface Customizing
getEmbeddedId
public EmbeddedId getEmbeddedId(com.sun.tools.xjc.outline.FieldOutline property)
- Specified by:
getEmbeddedId in interface Customizing
getVersion
public Version getVersion(com.sun.tools.xjc.model.CPropertyInfo property)
- Specified by:
getVersion in interface Customizing
getVersion
public Version getVersion(com.sun.tools.xjc.outline.FieldOutline property)
- Specified by:
getVersion in interface Customizing
getGeneratedVersion
public GeneratedVersion getGeneratedVersion(com.sun.tools.xjc.model.CClassInfo classInfo)
- Specified by:
getGeneratedVersion in interface Customizing
getDefaultBasic
public Basic getDefaultBasic(com.sun.tools.xjc.model.CPropertyInfo property)
throws AssertionError
- Throws:
AssertionError
getDefaultElementCollection
public ElementCollection getDefaultElementCollection(com.sun.tools.xjc.model.CPropertyInfo property)
throws AssertionError
- Throws:
AssertionError
getDefaultSingleProperty
public SingleProperty getDefaultSingleProperty(Persistence persistence,
QName typeName)
getDefaultCollectionProperty
public CollectionProperty getDefaultCollectionProperty(Persistence persistence,
QName typeName)
getBasic
public Basic getBasic(com.sun.tools.xjc.model.CPropertyInfo property)
- Specified by:
getBasic in interface Customizing
createColumn$Scale
public Integer createColumn$Scale(com.sun.tools.xjc.model.CPropertyInfo property)
createColumn$Precision
public Integer createColumn$Precision(com.sun.tools.xjc.model.CPropertyInfo property)
createColumn$Length
public Integer createColumn$Length(com.sun.tools.xjc.model.CPropertyInfo property)
getBasic
public Basic getBasic(com.sun.tools.xjc.outline.FieldOutline fieldOutline)
- Specified by:
getBasic in interface Customizing
getOneToMany
public OneToMany getOneToMany(com.sun.tools.xjc.model.CPropertyInfo property)
- Description copied from interface:
Customizing
- Returns the one-to-many customization for the given property. Must not
return null.
- Specified by:
getOneToMany in interface Customizing
- Parameters:
property - property to retrieve customization for.
- Returns:
- One-to-many customization for the given property, never null.
getModelCustomization
public Persistence getModelCustomization(com.sun.tools.xjc.model.CPropertyInfo property)
getModelCustomization
public Persistence getModelCustomization(com.sun.tools.xjc.model.CClassInfo classInfo)
getOneToMany
public OneToMany getOneToMany(com.sun.tools.xjc.outline.FieldOutline property)
- Specified by:
getOneToMany in interface Customizing
getManyToOne
public ManyToOne getManyToOne(com.sun.tools.xjc.model.CPropertyInfo property)
- Specified by:
getManyToOne in interface Customizing
getManyToOne
public ManyToOne getManyToOne(com.sun.tools.xjc.outline.FieldOutline property)
- Specified by:
getManyToOne in interface Customizing
getOneToOne
public OneToOne getOneToOne(com.sun.tools.xjc.model.CPropertyInfo property)
- Specified by:
getOneToOne in interface Customizing
getOneToOne
public OneToOne getOneToOne(com.sun.tools.xjc.outline.FieldOutline property)
- Specified by:
getOneToOne in interface Customizing
getManyToMany
public ManyToMany getManyToMany(com.sun.tools.xjc.model.CPropertyInfo property)
- Specified by:
getManyToMany in interface Customizing
getElementCollection
public ElementCollection getElementCollection(com.sun.tools.xjc.outline.FieldOutline fieldOutline)
- Specified by:
getElementCollection in interface Customizing
getElementCollection
public ElementCollection getElementCollection(com.sun.tools.xjc.model.CPropertyInfo property)
- Specified by:
getElementCollection in interface Customizing
getManyToMany
public ManyToMany getManyToMany(com.sun.tools.xjc.outline.FieldOutline property)
- Specified by:
getManyToMany in interface Customizing
getEntity
public Entity getEntity(com.sun.tools.xjc.outline.ClassOutline classOutline)
- Specified by:
getEntity in interface Customizing
getEntity
public Entity getEntity(com.sun.tools.xjc.model.CClassInfo classInfo)
getToMany
public Object getToMany(com.sun.tools.xjc.outline.FieldOutline property)
- Specified by:
getToMany in interface Customizing
getToOne
public Object getToOne(com.sun.tools.xjc.outline.FieldOutline property)
- Specified by:
getToOne in interface Customizing
getToOne
public Object getToOne(com.sun.tools.xjc.model.CPropertyInfo property)
- Specified by:
getToOne in interface Customizing
getToMany
public Object getToMany(com.sun.tools.xjc.model.CPropertyInfo property)
- Specified by:
getToMany in interface Customizing
getMappedSuperclass
public MappedSuperclass getMappedSuperclass(com.sun.tools.xjc.outline.ClassOutline classOutline)
- Specified by:
getMappedSuperclass in interface Customizing
getMappedSuperclass
public MappedSuperclass getMappedSuperclass(com.sun.tools.xjc.model.CClassInfo classInfo)
getEntityOrMappedSuperclassOrEmbeddable
public Object getEntityOrMappedSuperclassOrEmbeddable(com.sun.tools.xjc.outline.ClassOutline classOutline)
- Specified by:
getEntityOrMappedSuperclassOrEmbeddable in interface Customizing
getEntityOrMappedSuperclassOrEmbeddable
public Object getEntityOrMappedSuperclassOrEmbeddable(com.sun.tools.xjc.model.CClassInfo classInfo)
- Specified by:
getEntityOrMappedSuperclassOrEmbeddable in interface Customizing
getEmbeddable
public Embeddable getEmbeddable(com.sun.tools.xjc.model.CClassInfo classInfo)
getEmbeddable
public Embeddable getEmbeddable(com.sun.tools.xjc.outline.ClassOutline classOutline)
- Specified by:
getEmbeddable in interface Customizing
getEmbedded
public Embedded getEmbedded(com.sun.tools.xjc.model.CPropertyInfo property)
- Specified by:
getEmbedded in interface Customizing
getEmbedded
public Embedded getEmbedded(com.sun.tools.xjc.outline.FieldOutline property)
- Specified by:
getEmbedded in interface Customizing
getJaxbContext
public JaxbContext getJaxbContext(com.sun.tools.xjc.outline.FieldOutline property)
- Specified by:
getJaxbContext in interface Customizing
getJaxbContext
public JaxbContext getJaxbContext(com.sun.tools.xjc.model.CPropertyInfo property)
- Specified by:
getJaxbContext in interface Customizing
Copyright © 2005-2014. All Rights Reserved.