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

All Superinterfaces:
IAttribute, IEntityAttribute, IUniquelyNamed, Serializable

public interface IForeignAttribute
extends IEntityAttribute

Represents a foreign attribute that is exposed as an entity attribute but managed by a reference

Author:
skamel

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
 IReference getReference()
           
 IPKAttribute getReferencedPKAttribute()
           
 IEntity getToEntity()
          The IEntity referenced by this IForeignAttribute.
 String getToRolePhysicalName()
           
 boolean isSearchable()
           
 
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

getReference

IReference getReference()
Returns:
the owner IReference that manages this foreign attribute

getReferencedPKAttribute

IPKAttribute getReferencedPKAttribute()
Returns:
the IPKAttribute referenced by this foreign attribute.

getToRolePhysicalName

String getToRolePhysicalName()

getToEntity

IEntity getToEntity()
The IEntity referenced by this IForeignAttribute. Same as calling getReference().getToEntity() or getReferencedPKAttribute().getDeclaringEntity()

Returns:

isSearchable

boolean isSearchable()
Returns:
true if the current attribute was declared as a searchable attribute (included in Search)


Copyright © 2015. All Rights Reserved.