|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.topbraid.core.model.Domains
public class Domains
Utility methods dealing with properties.
| Constructor Summary | |
|---|---|
Domains()
|
|
| Method Summary | |
|---|---|
static java.util.List<com.hp.hpl.jena.rdf.model.Property> |
getRelevantProperties(com.hp.hpl.jena.rdf.model.Resource subject)
|
static java.util.List<com.hp.hpl.jena.rdf.model.Property> |
getRelevantProperties(com.hp.hpl.jena.rdf.model.Resource subject,
java.util.Set types)
|
static java.util.Set |
getUnionDomainClasses(com.hp.hpl.jena.rdf.model.Property property)
|
static java.util.Set<com.hp.hpl.jena.rdf.model.Property> |
getUnionDomainProperties(com.hp.hpl.jena.rdf.model.Resource cls)
Gets all properties that have a given class in their (direct) union domain. |
static boolean |
hasMatchingDomain(com.hp.hpl.jena.rdf.model.Property property,
com.hp.hpl.jena.rdf.model.Resource subject)
Checks if a property has a domain statement that matches one of the types of a given resource. |
static boolean |
hasMatchingDomain(com.hp.hpl.jena.rdf.model.Property property,
com.hp.hpl.jena.rdf.model.Resource subject,
java.util.Collection matchCache)
|
static boolean |
isDomainless(com.hp.hpl.jena.rdf.model.Resource property)
Checks whether a property is domainless. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Domains()
| Method Detail |
|---|
public static java.util.List<com.hp.hpl.jena.rdf.model.Property> getRelevantProperties(com.hp.hpl.jena.rdf.model.Resource subject)
public static java.util.List<com.hp.hpl.jena.rdf.model.Property> getRelevantProperties(com.hp.hpl.jena.rdf.model.Resource subject,
java.util.Set types)
public static java.util.Set getUnionDomainClasses(com.hp.hpl.jena.rdf.model.Property property)
public static java.util.Set<com.hp.hpl.jena.rdf.model.Property> getUnionDomainProperties(com.hp.hpl.jena.rdf.model.Resource cls)
cls - the class to get the properties for
public static boolean hasMatchingDomain(com.hp.hpl.jena.rdf.model.Property property,
com.hp.hpl.jena.rdf.model.Resource subject)
property - the property to analyze the domain ofsubject - the resource that is expected to have a type from the domain
public static boolean hasMatchingDomain(com.hp.hpl.jena.rdf.model.Property property,
com.hp.hpl.jena.rdf.model.Resource subject,
java.util.Collection matchCache)
public static boolean isDomainless(com.hp.hpl.jena.rdf.model.Resource property)
property - the property to check the domain of
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||