public final class PrimitiveData extends Object implements Comparable<PrimitiveData>
IAction and ISense, i.e.
what is stored in PrimitiveInfo and the parameters of the primitive.| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
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() |
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 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.public String getClassName()
public int compareTo(PrimitiveData o)
compareTo in interface Comparable<PrimitiveData>o - The other comparison objectpublic String getHtmlDescription()
Copyright © 2018 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All rights reserved.