1 /* 2 * Copyright 2003, 2004 The Apache Software Foundation 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 16 */ 17 package org.apache.ws.jaxme.xs.xml; 18 19 /** <p>Implementation of the group <code>xs:identityConstraint</code>, 20 * specified as follows: 21 * <pre> 22 * <xs:group name="identityConstraint"> 23 * <xs:annotation> 24 * <xs:documentation> 25 * The three kinds of identity constraints, all with 26 * type of or derived from 'keybase'. 27 * </xs:documentation> 28 * </xs:annotation> 29 * <xs:choice> 30 * <xs:element ref="xs:unique"/> 31 * <xs:element ref="xs:key"/> 32 * <xs:element ref="xs:keyref"/> 33 * </xs:choice> 34 * </xs:group> 35 * </pre></p> 36 * 37 * @author <a HREF="mailto:joe@ispsoft.de">Jochen Wiedmann</a> 38 */ 39 public interface XsGIdentityConstraint { 40 public XsEUnique createUnique(); 41 42 public XsEKey createKey(); 43 44 public XsEKeyref createKeyref(); 45 46 public XsTIdentityConstraint[] getIdentityConstraints(); 47 } 48