public class Frame extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Frame.FrameType
The Enum FrameType.
|
| Constructor and Description |
|---|
Frame()
Instantiates a new frame.
|
Frame(Frame.FrameType type)
Instantiates a new frame.
|
public Frame()
public Frame(Frame.FrameType type)
type - the typepublic Frame.FrameType getType()
public void setType(Frame.FrameType type)
type - the new typepublic String getId()
public void setId(String id)
id - the new idpublic Collection<Clause> getClauses()
public Collection<Clause> getClauses(String tag)
tag - the tagpublic Collection<Clause> getClauses(OBOFormatConstants.OboFormatTag tag)
tag - the tagpublic Clause getClause(String tag)
tag - the tagpublic Clause getClause(OBOFormatConstants.OboFormatTag tag)
tag - the tagpublic void setClauses(Collection<Clause> clauses)
clauses - the new clausespublic void addClause(Clause cl)
cl - the clausepublic Object getTagValue(String tag)
tag - the tagpublic Object getTagValue(OBOFormatConstants.OboFormatTag tag)
tag - the tagpublic <T> T getTagValue(String tag, Class<T> cls)
T - the generic typetag - the tagcls - the clspublic <T> T getTagValue(OBOFormatConstants.OboFormatTag tag, Class<T> cls)
T - the generic typetag - the tagcls - the clspublic Collection<Object> getTagValues(OBOFormatConstants.OboFormatTag tag)
tag - the tagpublic Collection<Object> getTagValues(String tag)
tag - the tagpublic <T> Collection<T> getTagValues(OBOFormatConstants.OboFormatTag tag, Class<T> cls)
T - the generic typetag - the tagcls - the clspublic <T> Collection<T> getTagValues(String tag, Class<T> cls)
T - the generic typetag - the tagcls - the clspublic Collection<Xref> getTagXrefs(String tag)
tag - the tagpublic void merge(Frame extFrame) throws FrameMergeException
extFrame - the external frameFrameMergeException - the frame merge exceptionpublic void check()
throws FrameStructureException
FrameStructureException - the frame structure exceptionfor equivalent checks in OWLCopyright © 2010-2015 The University of Manchester. All Rights Reserved.