blob: 601b10996406d1dab318a433ac119eb72caf760c [file] [log] [blame]
/*
* Copyright (c) 1998, 2021 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0,
* or the Eclipse Distribution License v. 1.0 which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
*/
// Contributors:
// Oracle - initial API and implementation from Oracle TopLink
package org.eclipse.persistence.internal.oxm.schema.model;
import java.util.ArrayList;
import java.util.List;
public class AttributeGroup {
private java.util.List<Attribute> attributes;
private AnyAttribute anyAttribute;
private String name;
private String ref;
public AttributeGroup() {
attributes = new ArrayList<>();
}
public void setAttributes(List<Attribute> attributes) {
this.attributes = attributes;
}
public List<Attribute> getAttributes() {
return attributes;
}
public void setName(String name) {
this.name = name;
}
public String getName() {
return name;
}
public void setAnyAttribute(AnyAttribute anyAttribute) {
this.anyAttribute = anyAttribute;
}
public AnyAttribute getAnyAttribute() {
return anyAttribute;
}
public void setRef(String ref) {
this.ref = ref;
}
public String getRef() {
return ref;
}
}