|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omwg.mediation.language.objectModel.Annotation
public class Annotation
Annotations represent additionnal informations to a mapping
Constructor Summary | |
---|---|
Annotation()
Constructor for a new empty annotation |
|
Annotation(Id id,
java.lang.String value)
Constructor for a new annotation |
Method Summary | |
---|---|
java.lang.Object |
clone()
Copies the annotation (both id and value) |
Id |
getId()
Returns annotation id when predefined |
java.lang.String |
getValue()
Returns value of the annotation when predefined |
void |
setId(Id id)
Sets annotation id |
void |
setValue(java.lang.String value)
Sets annotation value |
java.lang.String |
toString()
Creates a string with the annotation id and value |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Annotation()
Constructor for a new empty annotation
public Annotation(Id id, java.lang.String value)
Constructor for a new annotation
id
- (annotation id)value
- (string type)Method Detail |
---|
public java.lang.Object clone()
Copies the annotation (both id and value)
clone
in class java.lang.Object
public java.lang.String toString()
Creates a string with the annotation id and value
toString
in class java.lang.Object
public Id getId()
Returns annotation id when predefined
public void setId(Id id)
Sets annotation id
id
- (annotation id)public java.lang.String getValue()
Returns value of the annotation when predefined
public void setValue(java.lang.String value)
Sets annotation value
value
- (string type stating value of the annotation)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |