org.openxma.dsl.dom.model.Attribute Maven / Gradle / Ivy
/**
*
*
* $Id: Attribute.java 10224 2013-01-04 15:48:48Z dschwarz $
*/
package org.openxma.dsl.dom.model;
import org.eclipse.emf.common.util.EList;
import org.openxma.dsl.core.model.DataTypeAndTypeParameter;
import org.openxma.dsl.core.model.IDocumentable;
import org.openxma.dsl.core.model.IncrementerReference;
import org.openxma.dsl.core.model.ReferenceableByXmadslVariable;
import org.openxma.dsl.core.model.Type;
/**
* A representation of the model object 'Attribute'.
*
*
* The following features are supported:
*
* - {@link org.openxma.dsl.dom.model.Attribute#isIdentifier Identifier}
* - {@link org.openxma.dsl.dom.model.Attribute#isVersion Version}
* - {@link org.openxma.dsl.dom.model.Attribute#isComposition Composition}
* - {@link org.openxma.dsl.dom.model.Attribute#getType Type}
* - {@link org.openxma.dsl.dom.model.Attribute#isMany Many}
* - {@link org.openxma.dsl.dom.model.Attribute#getIncrementerReference Incrementer Reference}
* - {@link org.openxma.dsl.dom.model.Attribute#getDefaultValue Default Value}
* - {@link org.openxma.dsl.dom.model.Attribute#getOpposite Opposite}
* - {@link org.openxma.dsl.dom.model.Attribute#getAttributProperties Attribut Properties}
* - {@link org.openxma.dsl.dom.model.Attribute#getSortOrder Sort Order}
* - {@link org.openxma.dsl.dom.model.Attribute#getDataType Data Type}
* - {@link org.openxma.dsl.dom.model.Attribute#getOppositeReference Opposite Reference}
* - {@link org.openxma.dsl.dom.model.Attribute#getDataTypeName Data Type Name}
* - {@link org.openxma.dsl.dom.model.Attribute#getResolvedAttributeList Resolved Attribute List}
* - {@link org.openxma.dsl.dom.model.Attribute#isReference Reference}
* - {@link org.openxma.dsl.dom.model.Attribute#isReadOnly Read Only}
* - {@link org.openxma.dsl.dom.model.Attribute#isRequired Required}
* - {@link org.openxma.dsl.dom.model.Attribute#isDerived Derived}
* - {@link org.openxma.dsl.dom.model.Attribute#isTransient Transient}
*
*
*
* @see org.openxma.dsl.dom.DomPackage#getAttribute()
* @model
* @generated
*/
public interface Attribute extends ReferenceableByXmadslVariable, QueryParameterReference, PresentableFeature, IDocumentable {
/**
* Returns the value of the 'Identifier' attribute.
*
*
* If the meaning of the 'Identifier' attribute isn't clear, there really should be more of a description
* here...
*
*
* @return the value of the 'Identifier' attribute.
* @see #setIdentifier(boolean)
* @see org.openxma.dsl.dom.DomPackage#getAttribute_Identifier()
* @model
* @generated
*/
boolean isIdentifier();
/**
* Sets the value of the '{@link org.openxma.dsl.dom.model.Attribute#isIdentifier Identifier}' attribute.
*
* @param value the new value of the 'Identifier' attribute.
* @see #isIdentifier()
* @generated
*/
void setIdentifier(boolean value);
/**
* Returns the value of the 'Version' attribute.
*
*
* If the meaning of the 'Version' attribute isn't clear, there really should be more of a description
* here...
*
*
* @return the value of the 'Version' attribute.
* @see #setVersion(boolean)
* @see org.openxma.dsl.dom.DomPackage#getAttribute_Version()
* @model
* @generated
*/
boolean isVersion();
/**
* Sets the value of the '{@link org.openxma.dsl.dom.model.Attribute#isVersion Version}' attribute.
*
* @param value
* the new value of the 'Version' attribute.
* @see #isVersion()
* @generated
*/
void setVersion(boolean value);
/**
* Returns the value of the 'Composition' attribute.
*
*
* If the meaning of the 'Composition' attribute isn't clear, there really should be more of a description
* here...
*
*
* @return the value of the 'Composition' attribute.
* @see #setComposition(boolean)
* @see org.openxma.dsl.dom.DomPackage#getAttribute_Composition()
* @model
* @generated
*/
boolean isComposition();
/**
* Sets the value of the '{@link org.openxma.dsl.dom.model.Attribute#isComposition Composition}' attribute.
*
* @param value the new value of the 'Composition' attribute.
* @see #isComposition()
* @generated
*/
void setComposition(boolean value);
/**
* Returns the value of the 'Type' containment reference.
*
*
* If the meaning of the 'Type' containment reference isn't clear, there really should be more of a
* description here...
*
*
* @return the value of the 'Type' containment reference.
* @see #setType(DataTypeAndTypeParameter)
* @see org.openxma.dsl.dom.DomPackage#getAttribute_Type()
* @model containment="true"
* @generated
*/
DataTypeAndTypeParameter getType();
/**
* Sets the value of the '{@link org.openxma.dsl.dom.model.Attribute#getType Type}' containment reference.
*
* @param value the new value of the 'Type' containment reference.
* @see #getType()
* @generated
*/
void setType(DataTypeAndTypeParameter value);
/**
* Returns the value of the 'Many' attribute.
*
*
* If the meaning of the 'Many' attribute isn't clear, there really should be more of a description here...
*
*
* @return the value of the 'Many' attribute.
* @see #setMany(boolean)
* @see org.openxma.dsl.dom.DomPackage#getAttribute_Many()
* @model
* @generated
*/
boolean isMany();
/**
* Sets the value of the '{@link org.openxma.dsl.dom.model.Attribute#isMany Many}' attribute.
*
* @param value
* the new value of the 'Many' attribute.
* @see #isMany()
* @generated
*/
void setMany(boolean value);
/**
* Returns the value of the 'Default Value' attribute.
*
*
* If the meaning of the 'Default Value' attribute isn't clear, there really should be more of a
* description here...
*
*
* @return the value of the 'Default Value' attribute.
* @see #setDefaultValue(String)
* @see org.openxma.dsl.dom.DomPackage#getAttribute_DefaultValue()
* @model
* @generated
*/
String getDefaultValue();
/**
* Sets the value of the '{@link org.openxma.dsl.dom.model.Attribute#getDefaultValue Default Value}' attribute.
*
* @param value the new value of the 'Default Value' attribute.
* @see #getDefaultValue()
* @generated
*/
void setDefaultValue(String value);
/**
* Returns the value of the 'Opposite' reference.
*
*
* If the meaning of the 'Opposite' reference isn't clear, there really should be more of a description
* here...
*
*
* @return the value of the 'Opposite' reference.
* @see #setOpposite(Attribute)
* @see org.openxma.dsl.dom.DomPackage#getAttribute_Opposite()
* @model
* @generated
*/
Attribute getOpposite();
/**
* Sets the value of the '{@link org.openxma.dsl.dom.model.Attribute#getOpposite Opposite}' reference.
*
* @param value
* the new value of the 'Opposite' reference.
* @see #getOpposite()
* @generated
*/
void setOpposite(Attribute value);
/**
* Returns the value of the 'Attribut Properties' containment reference list.
* The list contents are of type {@link org.openxma.dsl.dom.model.AttributeProperty}.
*
*
* If the meaning of the 'Attribut Properties' containment reference list isn't clear, there really should
* be more of a description here...
*
*
* @return the value of the 'Attribut Properties' containment reference list.
* @see org.openxma.dsl.dom.DomPackage#getAttribute_AttributProperties()
* @model containment="true"
* @generated
*/
EList getAttributProperties();
/**
* Returns the value of the 'Sort Order' reference.
*
*
* If the meaning of the 'Sort Order' reference isn't clear, there really should be more of a description
* here...
*
*
* @return the value of the 'Sort Order' reference.
* @see #setSortOrder(AttributeGroup)
* @see org.openxma.dsl.dom.DomPackage#getAttribute_SortOrder()
* @model
* @generated
*/
AttributeGroup getSortOrder();
/**
* Sets the value of the '{@link org.openxma.dsl.dom.model.Attribute#getSortOrder Sort Order}' reference.
*
* @param value the new value of the 'Sort Order' reference.
* @see #getSortOrder()
* @generated
*/
void setSortOrder(AttributeGroup value);
/**
* Returns the value of the 'Data Type' reference.
*
*
* If the meaning of the 'Data Type' reference isn't clear, there really should be more of a description
* here...
*
*
* @return the value of the 'Data Type' reference.
* @see #setDataType(Type)
* @see org.openxma.dsl.dom.DomPackage#getAttribute_DataType()
* @model resolveProxies="false" transient="true" volatile="true" derived="true"
* @generated
*/
Type getDataType();
/**
* Sets the value of the '{@link org.openxma.dsl.dom.model.Attribute#getDataType Data Type}' reference.
*
* @param value the new value of the 'Data Type' reference.
* @see #getDataType()
* @generated
*/
void setDataType(Type value);
/**
* Returns the value of the 'Opposite Reference' reference.
*
*
* If the meaning of the 'Opposite Reference' reference isn't clear, there really should be more of a
* description here...
*
*
* @return the value of the 'Opposite Reference' reference.
* @see org.openxma.dsl.dom.DomPackage#getAttribute_OppositeReference()
* @model resolveProxies="false" transient="true" changeable="false" volatile="true" derived="true"
* @generated
*/
Attribute getOppositeReference();
/**
* Returns the value of the 'Data Type Name' attribute.
*
*
* If the meaning of the 'Data Type Name' attribute isn't clear, there really should be more of a
* description here...
*
*
* @return the value of the 'Data Type Name' attribute.
* @see org.openxma.dsl.dom.DomPackage#getAttribute_DataTypeName()
* @model transient="true" changeable="false" volatile="true" derived="true"
* @generated
*/
String getDataTypeName();
/**
* Returns the value of the 'Reference' attribute.
*
*
* If the meaning of the 'Reference' attribute isn't clear, there really should be more of a description
* here...
*
*
* @return the value of the 'Reference' attribute.
* @see org.openxma.dsl.dom.DomPackage#getAttribute_Reference()
* @model transient="true" changeable="false" volatile="true" derived="true"
* @generated
*/
boolean isReference();
/**
* Returns the value of the 'Resolved Attribute List' reference list.
* The list contents are of type {@link org.openxma.dsl.dom.model.Attribute}.
*
*
* If the meaning of the 'Resolved Attribute List' reference list isn't clear, there really should be more
* of a description here...
*
*
* @return the value of the 'Resolved Attribute List' reference list.
* @see org.openxma.dsl.dom.DomPackage#getAttribute_ResolvedAttributeList()
* @model resolveProxies="false" transient="true" changeable="false" volatile="true" derived="true"
* @generated
*/
EList getResolvedAttributeList();
/**
* Returns the value of the 'Read Only' attribute.
*
*
* If the meaning of the 'Read Only' attribute isn't clear, there really should be more of a description
* here...
*
*
* @return the value of the 'Read Only' attribute.
* @see org.openxma.dsl.dom.DomPackage#getAttribute_ReadOnly()
* @model transient="true" changeable="false" volatile="true" derived="true"
* @generated
*/
boolean isReadOnly();
/**
* Returns the value of the 'Required' attribute.
*
*
* If the meaning of the 'Required' attribute isn't clear, there really should be more of a description
* here...
*
*
* @return the value of the 'Required' attribute.
* @see org.openxma.dsl.dom.DomPackage#getAttribute_Required()
* @model transient="true" changeable="false" volatile="true" derived="true"
* @generated
*/
boolean isRequired();
/**
* Returns the value of the 'Derived' attribute.
*
*
* If the meaning of the 'Derived' attribute isn't clear, there really should be more of a description
* here...
*
*
* @return the value of the 'Derived' attribute.
* @see org.openxma.dsl.dom.DomPackage#getAttribute_Derived()
* @model transient="true" changeable="false" volatile="true" derived="true"
* @generated
*/
boolean isDerived();
/**
* Returns the value of the 'Transient' attribute.
*
*
* If the meaning of the 'Transient' attribute isn't clear, there really should be more of a description
* here...
*
*
* @return the value of the 'Transient' attribute.
* @see org.openxma.dsl.dom.DomPackage#getAttribute_Transient()
* @model transient="true" changeable="false" volatile="true" derived="true"
* @generated
*/
boolean isTransient();
/**
* Returns the value of the 'Incrementer Reference' containment reference.
*
*
* If the meaning of the 'Incrementer Reference' containment reference isn't clear, there really should be
* more of a description here...
*
*
* @return the value of the 'Incrementer Reference' containment reference.
* @see #setIncrementerReference(IncrementerReference)
* @see org.openxma.dsl.dom.DomPackage#getAttribute_IncrementerReference()
* @model containment="true"
* @generated
*/
IncrementerReference getIncrementerReference();
/**
* Sets the value of the '{@link org.openxma.dsl.dom.model.Attribute#getIncrementerReference Incrementer Reference}' containment reference.
*
* @param value the new value of the 'Incrementer Reference' containment reference.
* @see #getIncrementerReference()
* @generated
*/
void setIncrementerReference(IncrementerReference value);
/**
* @modified
* @return the label text for the field
*/
public String getLabelText();
/**
* @modified
* @return the hstore column name for the field
*/
public String getHstoreColumn();
/**
* @modified
*/
public boolean isHstore();
/**
* @modified
* @return the unit text for the field
*/
public String getUnitText();
/**
* @modified
* @return the unit text for the field
*/
public Attribute getUnitAttribute();
public String getOriginalName();
public void setOriginalName(String originalName);
public String getOriginalContainerName();
public void setOriginalContainerName(String originalContainerName);
} // Attribute