|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nlm.umls.meta.ContentView
Defines the content view for a ConceptElement
. The various
methods indicate whether or not this object belongs to the specified
content view.
Constructor Summary | |
ContentView()
Instantiates an empty ContentView . |
|
ContentView(long value)
Instantiates a ContentView from the specified long value. |
|
ContentView(String value)
Instantiates a ContentView from the specified String value. |
Method Summary | |
long |
getValue()
Returns the value of the content view flag. |
boolean |
keep(ContentView cv)
Indicates whether or not to keep the parent element by determining if this ContentView matches the one passed in. |
void |
setValue(long val)
Sets the value of the content view flag. |
void |
setValue(String val)
Sets the value of the content view flag. |
String |
toString()
Returns String representation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ContentView()
ContentView
.
public ContentView(String value)
ContentView
from the specified String
value.
value
- String
public ContentView(long value)
ContentView
from the specified long
value.
value
- long
Method Detail |
public long getValue()
public void setValue(String val)
val
- the value of the content view flagpublic void setValue(long val)
val
- the value of the content view flag as a longpublic boolean keep(ContentView cv)
ContentView
matches the one passed in.
cv
- represents the set of views to keep
true
to keep, false
otherwisepublic String toString()
String
representation.
String
representation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |