|
Alignment API and Server 4.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.inrialpes.exmo.align.impl.edoal.Value
public class Value
Id to represent a simple valuestring.
$Id: Value.java 1365 2010-03-26 21:46:46Z euzenat $
| Field Summary | |
|---|---|
private URI |
type
The eventual type of the value |
private String |
value
Holds the value |
| Constructor Summary | |
|---|---|
Value(String value)
Constructs an object with the given value. |
|
Value(String value,
URI type)
|
|
| Method Summary | |
|---|---|
void |
accept(AlignmentVisitor visitor)
|
void |
accept(TypeCheckingVisitor visitor)
|
boolean |
equals(Object o)
|
URI |
getType()
|
String |
getValue()
|
int |
hashCode()
|
String |
toString()
Returns a short description about this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private String value
private URI type
| Constructor Detail |
|---|
public Value(String value)
value - the value for this object.
NullPointerException - if the value is null
IllegalArgumentException - if the value isn't longer than 0
public Value(String value,
URI type)
| Method Detail |
|---|
public void accept(AlignmentVisitor visitor)
throws AlignmentException
accept in interface VisitableAlignmentException
public void accept(TypeCheckingVisitor visitor)
throws AlignmentException
AlignmentExceptionpublic String getValue()
public URI getType()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Objectpublic String toString()
Returns a short description about this object. The format of the returned string is undocumentd and subject to change.
An example return string could be: 15
toString in class Object
|
Alignment API and Server 4.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||