|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiz.c24.io.api.data.AnnotationItem
public abstract class AnnotationItem
An immutable item used to annotate data models.
Warning: Serialized objects of this class or of a deployed class which is derived from it may not be compatible with future releases of C24 Integreation Objects. The current serialization support is appropriate for short term storage or RMI between applications running the same version of C24 Integreation Objects.
Constructor Summary | |
---|---|
AnnotationItem(String text,
String source)
Constructs a new instance with specified values. |
Method Summary | |
---|---|
String |
getSource()
Returns the source. |
String |
getText()
Returns the textual content. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationItem(String text, String source)
null
but not at the same time.
text
- The textual content or null
.source
- The source or null
.
NullPointerException
- if text and source are both null.Method Detail |
---|
public String getText()
null
, in this case the result of getSource()
will not be null
.
null
if none was specified.public String getSource()
null
, in this case the result of getText()
will not be null
.
null
if none was specified.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |