public class JavaTypeFacet extends java.lang.Object implements Facet
| Constructor and Description |
|---|
JavaTypeFacet(java.lang.String javaType)
Construct a
JavaTypeFacet that
set the java type |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getJavaType()
Get the java type associated to this facet
|
void |
validate(AbsObject value,
Ontology onto)
Check whether a given value for the slot this Facet applies
to is valid.
|
public JavaTypeFacet(java.lang.String javaType)
JavaTypeFacet that
set the java typepublic java.lang.String getJavaType()
public void validate(AbsObject value, Ontology onto) throws OntologyException
validate in interface Facetvalue - The value to be checkedOntologyException - If the value is not valid