コード例 #1
0
 protected Boolean getDisplayTime(OWLOntology o, OWLEntity owlEntity) {
   String val =
       getAnnotationValueByUri(
           o, owlEntity, OntologyLumifyProperties.DISPLAY_TIME.getPropertyName());
   if (val == null) {
     return null;
   }
   return Boolean.parseBoolean(val);
 }
コード例 #2
0
 protected boolean getSearchable(OWLOntology o, OWLEntity owlEntity) {
   String val = getAnnotationValueByUri(o, owlEntity, "http://lumify.io#searchable");
   return val == null || Boolean.parseBoolean(val);
 }
コード例 #3
0
 protected boolean getUserVisible(OWLOntology o, OWLEntity owlEntity) {
   String val =
       getAnnotationValueByUri(
           o, owlEntity, OntologyLumifyProperties.USER_VISIBLE.getPropertyName());
   return val == null || Boolean.parseBoolean(val);
 }