package org.eclipse.emf.texo.test.model.schemaconstructs.groupall;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import org.eclipse.emf.texo.test.model.base.identifiable.Identifiable;
/**
* A representation of the model object '<em><b>DocumentRoot</b></em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
public class DocumentRoot extends Identifiable {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
private List<DocumentRootMixedFeatureGroup> mixed = new ArrayList<DocumentRootMixedFeatureGroup>();
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
private Map<String, String> xMLNSPrefixMap = new LinkedHashMap<String, String>();
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
private Map<String, String> xSISchemaLocation = new LinkedHashMap<String, String>();
/**
* Returns the value of '<em><b>mixed</b></em>' feature.
*
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the value of '<em><b>mixed</b></em>' feature
* @generated
*/
public List<DocumentRootMixedFeatureGroup> getMixed() {
return mixed;
}
/**
* Sets the '{@link DocumentRoot#getMixed() <em>mixed</em>}' feature.
*
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param newMixed
* the new value of the '{@link DocumentRoot#getMixed() mixed}' feature.
* @generated
*/
public void setMixed(List<DocumentRootMixedFeatureGroup> newMixed) {
mixed = newMixed;
}
/**
* Returns the value of '<em><b>xMLNSPrefixMap</b></em>' feature.
*
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the value of '<em><b>xMLNSPrefixMap</b></em>' feature
* @generated
*/
public Map<String, String> getXMLNSPrefixMap() {
return xMLNSPrefixMap;
}
/**
* Sets the '{@link DocumentRoot#getXMLNSPrefixMap() <em>xMLNSPrefixMap</em>}' feature.
*
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param newXMLNSPrefixMap
* the new value of the '{@link DocumentRoot#getXMLNSPrefixMap() xMLNSPrefixMap}' feature.
* @generated
*/
public void setXMLNSPrefixMap(Map<String, String> newXMLNSPrefixMap) {
xMLNSPrefixMap = newXMLNSPrefixMap;
}
/**
* Returns the value of '<em><b>xSISchemaLocation</b></em>' feature.
*
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the value of '<em><b>xSISchemaLocation</b></em>' feature
* @generated
*/
public Map<String, String> getXSISchemaLocation() {
return xSISchemaLocation;
}
/**
* Sets the '{@link DocumentRoot#getXSISchemaLocation() <em>xSISchemaLocation</em>}' feature.
*
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param newXSISchemaLocation
* the new value of the '{@link DocumentRoot#getXSISchemaLocation() xSISchemaLocation}' feature.
* @generated
*/
public void setXSISchemaLocation(Map<String, String> newXSISchemaLocation) {
xSISchemaLocation = newXSISchemaLocation;
}
/**
* Returns the value of '<em><b>address</b></em>' feature.
*
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the value of '<em><b>address</b></em>' feature
* @generated
*/
public AddressType getAddress() {
return DocumentRootMixedFeatureGroup.getSingleFeatureMapValue(getMixed(),
DocumentRootMixedFeatureGroup.Feature.ADDRESS);
}
/**
* Sets the '{@link DocumentRoot#getAddress() <em>address</em>}' feature.
*
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param newAddress
* the new value of the '{@link DocumentRoot#getAddress() address}' feature.
* @generated
*/
public void setAddress(AddressType newAddress) {
DocumentRootMixedFeatureGroup.setSingleFeatureMapValue(getMixed(), DocumentRootMixedFeatureGroup.Feature.ADDRESS,
newAddress);
}
/**
* Returns the value of '<em><b>addressGroup</b></em>' feature.
*
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the value of '<em><b>addressGroup</b></em>' feature
* @generated
*/
public AddressGroupType getAddressGroup() {
return DocumentRootMixedFeatureGroup.getSingleFeatureMapValue(getMixed(),
DocumentRootMixedFeatureGroup.Feature.ADDRESSGROUP);
}
/**
* Sets the '{@link DocumentRoot#getAddressGroup() <em>addressGroup</em>}' feature.
*
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param newAddressGroup
* the new value of the '{@link DocumentRoot#getAddressGroup() addressGroup}' feature.
* @generated
*/
public void setAddressGroup(AddressGroupType newAddressGroup) {
DocumentRootMixedFeatureGroup.setSingleFeatureMapValue(getMixed(),
DocumentRootMixedFeatureGroup.Feature.ADDRESSGROUP, newAddressGroup);
}
/**
* Returns the value of '<em><b>simpleAll</b></em>' feature.
*
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the value of '<em><b>simpleAll</b></em>' feature
* @generated
*/
public SimpleAllType getSimpleAll() {
return DocumentRootMixedFeatureGroup.getSingleFeatureMapValue(getMixed(),
DocumentRootMixedFeatureGroup.Feature.SIMPLEALL);
}
/**
* Sets the '{@link DocumentRoot#getSimpleAll() <em>simpleAll</em>}' feature.
*
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param newSimpleAll
* the new value of the '{@link DocumentRoot#getSimpleAll() simpleAll}' feature.
* @generated
*/
public void setSimpleAll(SimpleAllType newSimpleAll) {
DocumentRootMixedFeatureGroup.setSingleFeatureMapValue(getMixed(), DocumentRootMixedFeatureGroup.Feature.SIMPLEALL,
newSimpleAll);
}
/**
* Returns the value of '<em><b>simpleAllMap</b></em>' feature.
*
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the value of '<em><b>simpleAllMap</b></em>' feature
* @generated
*/
public SimpleAllMapType getSimpleAllMap() {
return DocumentRootMixedFeatureGroup.getSingleFeatureMapValue(getMixed(),
DocumentRootMixedFeatureGroup.Feature.SIMPLEALLMAP);
}
/**
* Sets the '{@link DocumentRoot#getSimpleAllMap() <em>simpleAllMap</em>}' feature.
*
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param newSimpleAllMap
* the new value of the '{@link DocumentRoot#getSimpleAllMap() simpleAllMap}' feature.
* @generated
*/
public void setSimpleAllMap(SimpleAllMapType newSimpleAllMap) {
DocumentRootMixedFeatureGroup.setSingleFeatureMapValue(getMixed(),
DocumentRootMixedFeatureGroup.Feature.SIMPLEALLMAP, newSimpleAllMap);
}
/**
* A toString method which prints the values of all EAttributes of this instance. <!-- begin-user-doc --> <!--
* end-user-doc -->
*
* @generated
*/
@Override
public String toString() {
return "DocumentRoot " + "{extends: " + super.toString() + "} ";
}
}