|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.amis.pogamut.sposh.executor.PrimitiveData
public final class PrimitiveData
Exchange container used for passing info between crawler and explorer.
Contains information about primitive IAction
and ISense
, i.e.
what is stored in PrimitiveInfo
and the parameters of the primitive.
Field Summary | |
---|---|
String |
classFQN
Fully qualified name of the primitive class |
String |
description
Description of the primitive from PrimitiveInfo , can be null if
no annotation. |
String |
name
Name of the primitive from PrimitiveInfo , not necessary unique. |
Set<ParamInfo> |
params
Parameters used by the primitive |
String[] |
tags
Tags for primitive |
Constructor Summary | |
---|---|
PrimitiveData(String classFQN)
Create PrimitiveData about some primitive that does't have PrimitiveInfo
annotation. |
|
PrimitiveData(String classFQN,
String name,
String description,
String[] tags,
Set<ParamInfo> parameters)
Create new instance of PrimitiveData |
Method Summary | |
---|---|
int |
compareTo(PrimitiveData o)
Compare this data to another. |
String |
getClassName()
Get simple class name (not FQN) |
String |
getHtmlDescription()
Get HTML description of the metadata of this object. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final String classFQN
public final String name
PrimitiveInfo
, not necessary unique.
Is null, if no PrimitiveInfo
annotation used.
public final String description
PrimitiveInfo
, can be null if
no annotation.
public final String[] tags
public final Set<ParamInfo> params
Constructor Detail |
---|
public PrimitiveData(String classFQN)
PrimitiveData
about some primitive that does't have PrimitiveInfo
annotation.
classFQN
- fully qualified name of the primitive class.public PrimitiveData(String classFQN, String name, String description, String[] tags, Set<ParamInfo> parameters)
classFQN
- fully qualified name of the primitive class.name
- name of primitive from PrimitiveInfo
, can be null.description
- description of primitive from PrimitiveInfo
,
can be null.tags
- tags of the primitiveparameters
- set of all parameters. Deep copy made.Method Detail |
---|
public String getClassName()
public int compareTo(PrimitiveData o)
compareTo
in interface Comparable<PrimitiveData>
o
- The other comparison object
public String toString()
toString
in class Object
public String getHtmlDescription()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |