Package jade.content.schema.facets
Class DocumentationFacet
- java.lang.Object
-
- jade.content.schema.facets.DocumentationFacet
-
- All Implemented Interfaces:
Facet,Serializable,Serializable
public class DocumentationFacet extends Object implements Facet
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DocumentationFacet(String documentation)Construct aDocumentationFacetthat set the documentation of an AbsObject
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDocumentation()Get the documentation associated to this facetvoidvalidate(AbsObject value, Ontology onto)Check whether a given value for the slot this Facet applies to is valid.
-
-
-
Constructor Detail
-
DocumentationFacet
public DocumentationFacet(String documentation)
Construct aDocumentationFacetthat set the documentation of an AbsObject
-
-
Method Detail
-
getDocumentation
public String getDocumentation()
Get the documentation associated to this facet
-
validate
public void validate(AbsObject value, Ontology onto) throws OntologyException
Check whether a given value for the slot this Facet applies to is valid.- Specified by:
validatein interfaceFacet- Parameters:
value- The value to be checked- Throws:
OntologyException- If the value is not valid
-
-