|
Revision 423M | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AttributeMapper
AttributeMapper knows about attributes for Xrefs.
| Field Summary | |
|---|---|
static java.lang.String |
MATCH_ID
use this magic constant as the attrType parameter to also search for identifiers. |
| Method Summary | |
|---|---|
java.util.Map<Xref,java.lang.String> |
freeAttributeSearch(java.lang.String query,
java.lang.String attrType,
int limit)
free text search for matching symbols. |
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> |
getAttributes(Xref ref)
Get all attributes for an entity. |
java.util.Set<java.lang.String> |
getAttributes(Xref ref,
java.lang.String attrType)
Get attributes for an entity, such as gene Symbol. |
java.util.Set<java.lang.String> |
getAttributeSet()
Set of attributes provided by this AttributeMapper. |
boolean |
isFreeAttributeSearchSupported()
|
| Field Detail |
|---|
static final java.lang.String MATCH_ID
| Method Detail |
|---|
java.util.Set<java.lang.String> getAttributes(Xref ref,
java.lang.String attrType)
throws IDMapperException
ref - the entity to get the attribute forattrType - the attribute to look for, e.g. 'Symbol' or 'Description'.
IDMapperException - if the mapping service is (temporarily) unavailable
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> getAttributes(Xref ref)
throws IDMapperException
ref - the entity to get the attributes for
IDMapperException - if the mapping service is (temporarily) unavailableboolean isFreeAttributeSearchSupported()
java.util.Map<Xref,java.lang.String> freeAttributeSearch(java.lang.String query,
java.lang.String attrType,
int limit)
throws IDMapperException
query - The text to search forattrType - the attribute to look for, e.g. 'Symbol' or 'Description'.
If you use the special MATCH_ID constant, it will query the identifier instead.limit - The number of results to limit the search to
IDMapperException - if the mapping service is (temporarily) unavailable
java.util.Set<java.lang.String> getAttributeSet()
throws IDMapperException
IDMapperException - if the mapping service is (temporarily) unavailable
|
Generated July 29 2010 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||