|
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.TransfService
public class TransfService
Represents a tranformation service to transform the values of attributes.
In the specification a transf is a local transformaion
function/service. The pov specifies the parameters needed for the
function to compute the transformaion.
In the specification a service is a remote transformaion
function/service. The id distiguishes between multiple transformation
function at the given address. The pov specifies the parameters
needed for the function to compute the transformaion.
$Id: TransfService.java 1311 2010-03-07 22:51:10Z euzenat $
| Field Summary | |
|---|---|
private URI |
id
id of the transformation function (only used if it is a service) |
private Set<Id> |
params
paramteters for the transformation |
private URI |
res
resource (uri) to the service |
| Constructor Summary | |
|---|---|
TransfService(URI res,
Collection<Id> params)
Constructs a transf. |
|
TransfService(URI res,
URI id,
Collection<Id> params)
Constructs a service. |
|
| Method Summary | |
|---|---|
void |
accept(AlignmentVisitor visitor)
|
Object |
clone()
|
boolean |
equals(Object o)
|
URI |
getId()
Returns the id of the transformation function. |
Set<Id> |
getParameters()
Returns an unmodifiable set of parameters needed for the transformation. |
URI |
getRes()
Returns the resource / uri to the transformation. |
int |
hashCode()
|
boolean |
hasId()
Returns whether there is a id. |
String |
toString()
Returns a short string description of this object. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private URI res
private URI id
private Set<Id> params
| Constructor Detail |
|---|
public TransfService(URI res,
Collection<Id> params)
Constructs a transf.
res - uri to the serviceparams - parameters for the transformation
NullPointerException - if the res is null
public TransfService(URI res,
URI id,
Collection<Id> params)
Constructs a service.
res - uri to the serviceid - id of the transformation functionparams - parameters for the transformation
NullPointerException - if the res is null| Method Detail |
|---|
public void accept(AlignmentVisitor visitor)
throws AlignmentException
accept in interface VisitableAlignmentExceptionpublic URI getRes()
public URI getId()
null) if it is a service.
hasId()public Set<Id> getParameters()
public boolean hasId()
true if there is a usable id, otherwise falsegetId()public String toString()
Returns a short string description of this object. The format of the returned string is undocumented and subject to change.
An example string could be:
transf: http://my/super/transf params: [dollar]
toString in class Objectpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic Object clone()
clone 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 | |||||||||