com.semarchy.mdm.runtime.model.common
Interface IColumnAttribute

All Superinterfaces:
IAttribute
All Known Subinterfaces:
IAtomicAttribute, IBuiltInColumnAttribute, IComplexAtomicAttribute, IDefinitionAttribute, IPKAttribute

public interface IColumnAttribute
extends IAttribute

A Column attribute is an attribute that may be stored in a database column

Author:
skamel

Method Summary
 DataTypeInfo getDataTypeInfo()
          Return the complete type information
 Integer getLength()
          The maximum length for the IColumnAttribute value.
 LogicalDataType getLogicalType()
           
 ILov getLov()
          Returns the LOV this attribute is tied to or null if not linked to an ILov.
 String getPhysicalName()
           
 PhysicalDataType getPhysicalType()
           
 Integer getPrecision()
           
 Integer getScale()
           
 String getValueSeparator()
          The value separator in case of multi-valued attribute.
 boolean isMultiValued()
          Indicates whether this attribute stores a list of LOV Values separated by getValueSeparator().
 
Methods inherited from interface com.semarchy.mdm.runtime.model.common.IAttribute
getName
 

Method Detail

getPhysicalName

String getPhysicalName()
Returns:
a physical name for this column attribute

getPhysicalType

PhysicalDataType getPhysicalType()

getLength

Integer getLength()
The maximum length for the IColumnAttribute value. In case of multi-valued attribute this is the total length storable in this attribute including the separators.


getPrecision

Integer getPrecision()

getScale

Integer getScale()

getLogicalType

LogicalDataType getLogicalType()
Returns:
the logcial type of this attribute column

getLov

ILov getLov()
Returns the LOV this attribute is tied to or null if not linked to an ILov.

Returns:
the LOV to which this attribute is tied if any or null if not a LOV attribute.

isMultiValued

boolean isMultiValued()
Indicates whether this attribute stores a list of LOV Values separated by getValueSeparator().

Returns:

getValueSeparator

String getValueSeparator()
The value separator in case of multi-valued attribute.

Returns:

getDataTypeInfo

DataTypeInfo getDataTypeInfo()
Return the complete type information

Returns:


Copyright © 2015. All Rights Reserved.