1 /* 2 * Copyright 2004,2007 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.commons.schema; 18 19 import javax.xml.namespace.QName; 20 21 22 /** 23 * Class used within complex types that defines the reference to 24 * groups defined at the schema level. Represents the World Wide 25 * Web Consortium (W3C) group element with ref attribute. 26 */ 27 28 public class XmlSchemaGroupRef extends XmlSchemaParticle { 29 30 /** 31 * Creates new XmlSchemaGroupRef 32 */ 33 public XmlSchemaGroupRef() { 34 } 35 36 XmlSchemaGroupBase particle; 37 38 public XmlSchemaGroupBase getParticle() { 39 return this.particle; 40 } 41 42 QName refName; 43 44 public QName getRefName() { 45 return this.refName; 46 } 47 48 public void setRefName(QName refName) { 49 this.refName = refName; 50 } 51 52 53 }