com.semarchy.mdm.runtime.model.logical
Interface IComplexAttribute

All Superinterfaces:
IAttribute, IEntityAttribute, IUniquelyNamed, Serializable

public interface IComplexAttribute
extends IEntityAttribute

Represents a complex attributes that is itself composed of several complex atomic attributes

Author:
skamel
See Also:
IComplexAtomicAttribute

Field Summary
 
Fields inherited from interface com.semarchy.mdm.runtime.model.logical.IEntityAttribute
ATTRIBUTE_PREFIX
 
Fields inherited from interface com.semarchy.mdm.runtime.model.logical.IUniquelyNamed
SEP
 
Method Summary
 IComplexAtomicAttribute getComplexAtomicAttribute(String pName)
           
 List<IComplexAtomicAttribute> getComplexAtomicAttributes()
          The list of complex atomic attributes that compose this complex attribute.
 IComplexType getComplexType()
           
 List<IComplexAtomicAttribute> getDNAttributes()
           
 String getDNSeparator()
           
 ValidationScope getLovValidationScope()
           
 ValidationScope getMandatoryValidationScope()
           
 String getPhysicalPrefix()
           
 
Methods inherited from interface com.semarchy.mdm.runtime.model.logical.IEntityAttribute
getDeclaringEntity
 
Methods inherited from interface com.semarchy.mdm.runtime.model.common.IAttribute
getName
 
Methods inherited from interface com.semarchy.mdm.runtime.model.logical.IUniquelyNamed
getPrefixedUniqueName, getUniqueName
 

Method Detail

getComplexAtomicAttributes

List<IComplexAtomicAttribute> getComplexAtomicAttributes()
The list of complex atomic attributes that compose this complex attribute. This list cannot be null or empty. The list is ordered following the ordering defined in defsign time for definition attributes

Returns:
the list of complex atomic attributes that compose this complex attribute.

getComplexAtomicAttribute

IComplexAtomicAttribute getComplexAtomicAttribute(String pName)
                                                  throws NoSuchAttributeException
Parameters:
pName - name of atomic attribute we're looking for
Returns:
a complex atomic attribute owned by this complex type that match the given name
Throws:
NoSuchAttributeException - if no complex atomic attribute matches this name or if name is null

getPhysicalPrefix

String getPhysicalPrefix()

getDNAttributes

List<IComplexAtomicAttribute> getDNAttributes()

getDNSeparator

String getDNSeparator()

getMandatoryValidationScope

ValidationScope getMandatoryValidationScope()
Returns:
the scope where the attribute's mandatory constraints hav to be checked or null if #isMandatory() is false on all complex atomic attributes

getLovValidationScope

ValidationScope getLovValidationScope()
Returns:
the scope where the attribute's LOV constraints have to be chaecked or null if #getLov() returns null on all complex atomic attributes

getComplexType

IComplexType getComplexType()
Returns:
the complex Type for this IComplexAttribute


Copyright © 2015. All Rights Reserved.