/** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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.io.Serializable; import java.util.List; /** * * A representation of the model object 'Type'. * * *

* The following features are supported: *

*

* * @extends Serializable * @generated */ public interface Type extends Serializable { /** * 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 '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 #isSetName() * @see #unsetName() * @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 #isSetName() * @see #unsetName() * @see #getName() * @generated */ void setName(String value); /** * Unsets the value of the '{@link org.apache.tuscany.sdo.model.Type#getName Name}' attribute. * * * @see #isSetName() * @see #getName() * @see #setName(String) * @generated */ void unsetName(); /** * Returns whether the value of the '{@link org.apache.tuscany.sdo.model.Type#getName Name}' attribute is set. * * * @return whether the value of the 'Name' attribute is set. * @see #unsetName() * @see #getName() * @see #setName(String) * @generated */ boolean isSetName(); /** * 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 #isSetUri() * @see #unsetUri() * @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 #isSetUri() * @see #unsetUri() * @see #getUri() * @generated */ void setUri(String value); /** * Unsets the value of the '{@link org.apache.tuscany.sdo.model.Type#getUri Uri}' attribute. * * * @see #isSetUri() * @see #getUri() * @see #setUri(String) * @generated */ void unsetUri(); /** * Returns whether the value of the '{@link org.apache.tuscany.sdo.model.Type#getUri Uri}' attribute is set. * * * @return whether the value of the 'Uri' attribute is set. * @see #unsetUri() * @see #getUri() * @see #setUri(String) * @generated */ boolean isSetUri(); /** * 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 '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 '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 '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