diff options
Diffstat (limited to 'jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/xsd/XsdFeature.java')
-rw-r--r-- | jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/xsd/XsdFeature.java | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/xsd/XsdFeature.java b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/xsd/XsdFeature.java deleted file mode 100644 index 120f69dfe9..0000000000 --- a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/xsd/XsdFeature.java +++ /dev/null @@ -1,39 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2011 Oracle. All rights reserved. - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0, which accompanies this distribution - * and is available at http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Oracle - initial API and implementation - *******************************************************************************/ -package org.eclipse.jpt.jaxb.core.xsd; - -import org.eclipse.xsd.XSDFeature; - - -public abstract class XsdFeature<A extends XSDFeature> - extends XsdComponent<A> { - - protected XsdFeature(A xsdFeature) { - super(xsdFeature); - } - - - public A getXSDFeature() { - return getXSDComponent(); - } - - public String getName() { - return getXSDFeature().getName(); - } - - public abstract XsdTypeDefinition getType(); - - /** - * Return whether the given schema type is valid within the feature - * @param isItemType determines whether the xsdType should instead be treated as an item type - * within a list - */ - public abstract boolean typeIsValid(XsdTypeDefinition xsdType, boolean isItemType); -} |