All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jvnet.hyperjaxb3.hibernate.customizations.CustomizationStrategy Maven / Gradle / Ivy

The newest version!
package org.jvnet.hyperjaxb3.hibernate.customizations;

import org.jvnet.hyperjaxb3.hibernate.customizations.ClassType;
import org.jvnet.hyperjaxb3.hibernate.customizations.ComplexCollectionPropertyType;
import org.jvnet.hyperjaxb3.hibernate.customizations.ComplexSinglePropertyType;
import org.jvnet.hyperjaxb3.hibernate.customizations.ComponentType;
import org.jvnet.hyperjaxb3.hibernate.customizations.CompositeElementType;
import org.jvnet.hyperjaxb3.hibernate.customizations.FieldItemType;
import org.jvnet.hyperjaxb3.hibernate.customizations.IdType;
import org.jvnet.hyperjaxb3.hibernate.customizations.SimpleCollectionPropertyType;
import org.jvnet.hyperjaxb3.hibernate.customizations.SimpleSinglePropertyType;
import org.jvnet.hyperjaxb3.hibernate.customizations.VersionType;
import org.jvnet.hyperjaxb3.hibernate.customizations.WildcardCollectionPropertyType;
import org.jvnet.hyperjaxb3.hibernate.customizations.WildcardSinglePropertyType;

import com.sun.tools.xjc.model.CCustomizable;
import com.sun.tools.xjc.outline.ClassOutline;
import com.sun.tools.xjc.outline.FieldOutline;

public interface CustomizationStrategy {

	public abstract org.w3c.dom.Element getCustomizationElement(Object object);

	public abstract ClassType getClazz(ClassOutline classContext);

	public abstract CompositeElementType getCompositeElement(ClassOutline fieldClassOutline);

	public abstract ComponentType getComponent(ClassOutline fieldClassOutline);

	public abstract SimpleSinglePropertyType getSimpleSingleProperty(
			FieldOutline fieldOutline);

	public abstract ComplexSinglePropertyType getComplexSingleProperty(
			FieldOutline fieldOutline);

	public abstract WildcardSinglePropertyType getWildcardSingleProperty(
			FieldOutline item);

	public abstract SimpleCollectionPropertyType getSimpleCollectionProperty(
			FieldOutline item);

	public abstract IdType getId(ClassOutline item);

	public abstract IdType getId(FieldOutline item);

	public abstract VersionType getVersion(ClassOutline item);

	public abstract VersionType getVersion(FieldOutline item);

	public abstract ComplexCollectionPropertyType getComplexCollectionProperty(
			FieldOutline fieldOutline);

	public abstract WildcardCollectionPropertyType getWildcardCollectionProperty(
			FieldOutline fieldOutline);

	public abstract FieldItemType getFieldItem(FieldOutline item);

	public abstract boolean isIgnored(FieldOutline item);

	public abstract boolean isIgnored(ClassOutline item);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy