org.eclipse.higgins.idas.common
Class DereferenceAttrValuesExtension

java.lang.Object
  extended byorg.eclipse.higgins.idas.common.DereferenceAttrValuesExtension
All Implemented Interfaces:
org.eclipse.higgins.idas.api.IExtension

public class DereferenceAttrValuesExtension
extends Object
implements org.eclipse.higgins.idas.api.IExtension


Field Summary
static String id
           
 
Constructor Summary
DereferenceAttrValuesExtension(URI[] attrIDs, URI[] types)
           
 
Method Summary
 URI getID()
           
 boolean shouldDereference(URI attrID, URI valType)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public static final String id
See Also:
Constant Field Values
Constructor Detail

DereferenceAttrValuesExtension

public DereferenceAttrValuesExtension(URI[] attrIDs,
                                      URI[] types)
Parameters:
types - may be null. When null, any value type that is dereferencable should be dereferenced. When not null, specifies only those value types which should be dereferenced
Method Detail

getID

public URI getID()
Specified by:
getID in interface org.eclipse.higgins.idas.api.IExtension

shouldDereference

public boolean shouldDereference(URI attrID,
                                 URI valType)
Returns:
true if the passed attribute ID should be dereferenced.