org.omg.cwm.resource.relational
Interface Column

All Superinterfaces:
Attribute, Element, Feature, ModelElement, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject, StructuralFeature

public interface Column
extends Attribute

A column in a result set, a view, a table, or an SQLStructuredType.


Method Summary
 java.lang.String getCharacterSetName()
          The name of the character set used for the values in the column.
 java.lang.String getCollationName()
          The name of the collation sequence used to sort the data values in the column.
 org.omg.cwm.resource.relational.enumerations.NullableType getIsNullable()
          Indicates if null values are valid in this column.
 java.lang.Integer getLength()
          The length of fixed length character or byte strings.
 NamedColumnSet getOptionScopeColumnSet()
           
 java.lang.Integer getPrecision()
          The total number of digits in the field.
 SqlstructuredType getReferencedTableType()
           
 java.lang.Integer getScale()
          The number of digits on the right of the decimal separator.
 void setCharacterSetName(java.lang.String newValue)
          The name of the character set used for the values in the column.
 void setCollationName(java.lang.String newValue)
          The name of the collation sequence used to sort the data values in the column.
 void setIsNullable(org.omg.cwm.resource.relational.enumerations.NullableType newValue)
          Indicates if null values are valid in this column.
 void setLength(java.lang.Integer newValue)
          The length of fixed length character or byte strings.
 void setOptionScopeColumnSet(NamedColumnSet newValue)
           
 void setPrecision(java.lang.Integer newValue)
          The total number of digits in the field.
 void setReferencedTableType(SqlstructuredType newValue)
           
 void setScale(java.lang.Integer newValue)
          The number of digits on the right of the decimal separator.
 
Methods inherited from interface org.omg.cwm.objectmodel.core.Attribute
getInitialValue, setInitialValue
 
Methods inherited from interface org.omg.cwm.objectmodel.core.StructuralFeature
getChangeability, getMultiplicity, getOrdering, getTargetScope, getType, setChangeability, setMultiplicity, setOrdering, setTargetScope, setType
 
Methods inherited from interface org.omg.cwm.objectmodel.core.Feature
getOwner, getOwnerScope, setOwner, setOwnerScope
 
Methods inherited from interface org.omg.cwm.objectmodel.core.ModelElement
getClientDependency, getConstraint, getImporter, getName, getNamespace, getVisibility, setName, setNamespace, setVisibility
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

getPrecision

public java.lang.Integer getPrecision()
                               throws javax.jmi.reflect.JmiException
The total number of digits in the field.

setPrecision

public void setPrecision(java.lang.Integer newValue)
                  throws javax.jmi.reflect.JmiException
The total number of digits in the field.

getScale

public java.lang.Integer getScale()
                           throws javax.jmi.reflect.JmiException
The number of digits on the right of the decimal separator.

setScale

public void setScale(java.lang.Integer newValue)
              throws javax.jmi.reflect.JmiException
The number of digits on the right of the decimal separator.

getIsNullable

public org.omg.cwm.resource.relational.enumerations.NullableType getIsNullable()
                                                                        throws javax.jmi.reflect.JmiException
Indicates if null values are valid in this column. Note: Default values for Column data are provided in initialValue in the UML Attribute class (the class from which the Column class inherits).

setIsNullable

public void setIsNullable(org.omg.cwm.resource.relational.enumerations.NullableType newValue)
                   throws javax.jmi.reflect.JmiException
Indicates if null values are valid in this column. Note: Default values for Column data are provided in initialValue in the UML Attribute class (the class from which the Column class inherits).

getLength

public java.lang.Integer getLength()
                            throws javax.jmi.reflect.JmiException
The length of fixed length character or byte strings. Maximum length if length is variable.

setLength

public void setLength(java.lang.Integer newValue)
               throws javax.jmi.reflect.JmiException
The length of fixed length character or byte strings. Maximum length if length is variable.

getCollationName

public java.lang.String getCollationName()
                                  throws javax.jmi.reflect.JmiException
The name of the collation sequence used to sort the data values in the column. This applies only to columns whose datatype is a form of character string.

setCollationName

public void setCollationName(java.lang.String newValue)
                      throws javax.jmi.reflect.JmiException
The name of the collation sequence used to sort the data values in the column. This applies only to columns whose datatype is a form of character string.

getCharacterSetName

public java.lang.String getCharacterSetName()
                                     throws javax.jmi.reflect.JmiException
The name of the character set used for the values in the column. This field applies only to columns whose datatype is a character string.

setCharacterSetName

public void setCharacterSetName(java.lang.String newValue)
                         throws javax.jmi.reflect.JmiException
The name of the character set used for the values in the column. This field applies only to columns whose datatype is a character string.

getOptionScopeColumnSet

public NamedColumnSet getOptionScopeColumnSet()
                                       throws javax.jmi.reflect.JmiException

setOptionScopeColumnSet

public void setOptionScopeColumnSet(NamedColumnSet newValue)
                             throws javax.jmi.reflect.JmiException

getReferencedTableType

public SqlstructuredType getReferencedTableType()
                                         throws javax.jmi.reflect.JmiException

setReferencedTableType

public void setReferencedTableType(SqlstructuredType newValue)
                            throws javax.jmi.reflect.JmiException


Copyright 1997-2005 by Object Management Group, Inc. (http://www.omg.org/), 250 First Ave. Needham, MA 02494 U.S.A. All rights reserved. Unless otherwise indicated, users may make a single copy of the contents, in whole or in part, of this web site strictly for personal, non-commercial use. In the event that all or part of this site is downloaded for personal use, users shall maintain all proprietary notices including copyright notices that appear on or in connection with that content. Other than creating a single copy of contents for personal use as described herein, users may not copy, reproduce, distribute, republish, download, display, post or transmit in any form or by any means, including but not limited to electronic, mechanical, photocopying, recording, or other means, any content found or linked to the OMG web site without the prior express written permission of OMG. Any unauthorized use of any content contained on the OMG web site may violate the copyright laws, trademark laws, laws relating to publicity and privacy, and other regulations and statutes in the U.S. and other countries.