/** * * Copyright 2005 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.tuscany.sdo.model; import commonj.sdo.Sequence; import java.util.List; /** * * A representation of the model object 'Type'. * * *

* The following features are supported: *

*

* * @generated */ public interface Type { /** * Returns the value of the 'Base Type' reference list. * The list contents are of type {@link org.apache.tuscany.sdo.model.Type}. * *

* If the meaning of the 'Base Type' reference list isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Base Type' reference list. * @generated */ List getBaseType(); /** * Returns the value of the 'Property' containment reference list. * The list contents are of type {@link org.apache.tuscany.sdo.model.Property}. * *

* If the meaning of the 'Property' containment reference list isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Property' containment reference list. * @generated */ List getProperty(); /** * Returns the value of the 'Alias Name' attribute list. * The list contents are of type {@link java.lang.String}. * *

* If the meaning of the 'Alias Name' attribute list isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Alias Name' attribute list. * @generated */ List getAliasName(); /** * Returns the value of the 'Any' attribute list. * *

* If the meaning of the 'Any' attribute list isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Any' attribute list. * @generated */ Sequence getAny(); /** * Returns the value of the 'Abstract' attribute. * *

* If the meaning of the 'Abstract' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Abstract' attribute. * @see #isSetAbstract() * @see #unsetAbstract() * @see #setAbstract(boolean) * @generated */ boolean isAbstract(); /** * Sets the value of the '{@link org.apache.tuscany.sdo.model.Type#isAbstract Abstract}' attribute. * * * @param value the new value of the 'Abstract' attribute. * @see #isSetAbstract() * @see #unsetAbstract() * @see #isAbstract() * @generated */ void setAbstract(boolean value); /** * Unsets the value of the '{@link org.apache.tuscany.sdo.model.Type#isAbstract Abstract}' attribute. * * * @see #isSetAbstract() * @see #isAbstract() * @see #setAbstract(boolean) * @generated */ void unsetAbstract(); /** * Returns whether the value of the '{@link org.apache.tuscany.sdo.model.Type#isAbstract Abstract}' attribute is set. * * * @return whether the value of the 'Abstract' attribute is set. * @see #unsetAbstract() * @see #isAbstract() * @see #setAbstract(boolean) * @generated */ boolean isSetAbstract(); /** * Returns the value of the 'Data Type' attribute. * *

* If the meaning of the 'Data Type' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Data Type' attribute. * @see #isSetDataType() * @see #unsetDataType() * @see #setDataType(boolean) * @generated */ boolean isDataType(); /** * Sets the value of the '{@link org.apache.tuscany.sdo.model.Type#isDataType Data Type}' attribute. * * * @param value the new value of the 'Data Type' attribute. * @see #isSetDataType() * @see #unsetDataType() * @see #isDataType() * @generated */ void setDataType(boolean value); /** * Unsets the value of the '{@link org.apache.tuscany.sdo.model.Type#isDataType Data Type}' attribute. * * * @see #isSetDataType() * @see #isDataType() * @see #setDataType(boolean) * @generated */ void unsetDataType(); /** * Returns whether the value of the '{@link org.apache.tuscany.sdo.model.Type#isDataType Data Type}' attribute is set. * * * @return whether the value of the 'Data Type' attribute is set. * @see #unsetDataType() * @see #isDataType() * @see #setDataType(boolean) * @generated */ boolean isSetDataType(); /** * Returns the value of the 'Name' attribute. * *

* If the meaning of the 'Name' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Name' attribute. * @see #setName(String) * @generated */ String getName(); /** * Sets the value of the '{@link org.apache.tuscany.sdo.model.Type#getName Name}' attribute. * * * @param value the new value of the 'Name' attribute. * @see #getName() * @generated */ void setName(String value); /** * Returns the value of the 'Open' attribute. * *

* If the meaning of the 'Open' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Open' attribute. * @see #isSetOpen() * @see #unsetOpen() * @see #setOpen(boolean) * @generated */ boolean isOpen(); /** * Sets the value of the '{@link org.apache.tuscany.sdo.model.Type#isOpen Open}' attribute. * * * @param value the new value of the 'Open' attribute. * @see #isSetOpen() * @see #unsetOpen() * @see #isOpen() * @generated */ void setOpen(boolean value); /** * Unsets the value of the '{@link org.apache.tuscany.sdo.model.Type#isOpen Open}' attribute. * * * @see #isSetOpen() * @see #isOpen() * @see #setOpen(boolean) * @generated */ void unsetOpen(); /** * Returns whether the value of the '{@link org.apache.tuscany.sdo.model.Type#isOpen Open}' attribute is set. * * * @return whether the value of the 'Open' attribute is set. * @see #unsetOpen() * @see #isOpen() * @see #setOpen(boolean) * @generated */ boolean isSetOpen(); /** * Returns the value of the 'Sequenced' attribute. * *

* If the meaning of the 'Sequenced' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Sequenced' attribute. * @see #isSetSequenced() * @see #unsetSequenced() * @see #setSequenced(boolean) * @generated */ boolean isSequenced(); /** * Sets the value of the '{@link org.apache.tuscany.sdo.model.Type#isSequenced Sequenced}' attribute. * * * @param value the new value of the 'Sequenced' attribute. * @see #isSetSequenced() * @see #unsetSequenced() * @see #isSequenced() * @generated */ void setSequenced(boolean value); /** * Unsets the value of the '{@link org.apache.tuscany.sdo.model.Type#isSequenced Sequenced}' attribute. * * * @see #isSetSequenced() * @see #isSequenced() * @see #setSequenced(boolean) * @generated */ void unsetSequenced(); /** * Returns whether the value of the '{@link org.apache.tuscany.sdo.model.Type#isSequenced Sequenced}' attribute is set. * * * @return whether the value of the 'Sequenced' attribute is set. * @see #unsetSequenced() * @see #isSequenced() * @see #setSequenced(boolean) * @generated */ boolean isSetSequenced(); /** * Returns the value of the 'Uri' attribute. * *

* If the meaning of the 'Uri' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Uri' attribute. * @see #setUri(String) * @generated */ String getUri(); /** * Sets the value of the '{@link org.apache.tuscany.sdo.model.Type#getUri Uri}' attribute. * * * @param value the new value of the 'Uri' attribute. * @see #getUri() * @generated */ void setUri(String value); /** * Returns the value of the 'Any Attribute' attribute list. * *

* If the meaning of the 'Any Attribute' attribute list isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Any Attribute' attribute list. * @generated */ Sequence getAnyAttribute(); String getInstanceClassName(); } // Type