public class DocumentationFacet extends java.lang.Object implements Facet
| Constructor and Description |
|---|
DocumentationFacet(java.lang.String documentation)
Construct a
DocumentationFacet that
set the documentation of an AbsObject |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDocumentation()
Get the documentation 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 DocumentationFacet(java.lang.String documentation)
DocumentationFacet that
set the documentation of an AbsObjectpublic java.lang.String getDocumentation()
public void validate(AbsObject value, Ontology onto) throws OntologyException
validate in interface Facetvalue - The value to be checkedOntologyException - If the value is not valid