286N/A/*
286N/A * reserved comment block
286N/A * DO NOT REMOVE OR ALTER!
286N/A */
286N/A/*
286N/A * Copyright 2003,2004 The Apache Software Foundation.
286N/A *
286N/A * Licensed under the Apache License, Version 2.0 (the "License");
286N/A * you may not use this file except in compliance with the License.
286N/A * You may obtain a copy of the License at
286N/A *
286N/A * http://www.apache.org/licenses/LICENSE-2.0
286N/A *
286N/A * Unless required by applicable law or agreed to in writing, software
286N/A * distributed under the License is distributed on an "AS IS" BASIS,
286N/A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
286N/A * See the License for the specific language governing permissions and
286N/A * limitations under the License.
286N/A */
286N/A
286N/Apackage com.sun.org.apache.xerces.internal.xs;
286N/A
286N/A/**
286N/A * This interface represents the Identity-constraint Definition schema
286N/A * component.
286N/A */
286N/Apublic interface XSIDCDefinition extends XSObject {
286N/A // Identity Constraints
286N/A /**
286N/A * See the definition of <code>key</code> in the identity-constraint
286N/A * category.
286N/A */
286N/A public static final short IC_KEY = 1;
286N/A /**
286N/A * See the definition of <code>keyref</code> in the identity-constraint
286N/A * category.
286N/A */
286N/A public static final short IC_KEYREF = 2;
286N/A /**
286N/A * See the definition of <code>unique</code> in the identity-constraint
286N/A * category.
286N/A */
286N/A public static final short IC_UNIQUE = 3;
286N/A
286N/A /**
286N/A * [identity-constraint category]: one of key, keyref or unique.
286N/A */
286N/A public short getCategory();
286N/A
286N/A /**
286N/A * [selector]: a restricted XPath 1.0 expression.
286N/A */
286N/A public String getSelectorStr();
286N/A
286N/A /**
286N/A * [fields]: a non-empty list of restricted XPath 1.0 expressions.
286N/A */
286N/A public StringList getFieldStrs();
286N/A
286N/A /**
286N/A * [referenced key]: required if [identity-constraint category] is keyref,
286N/A * <code>null</code> otherwise. An identity-constraint definition with [
286N/A * identity-constraint category] equal to key or unique.
286N/A */
286N/A public XSIDCDefinition getRefKey();
286N/A
286N/A /**
286N/A * A sequence of [annotations] or an empty <code>XSObjectList</code>.
286N/A */
286N/A public XSObjectList getAnnotations();
286N/A
286N/A}