/** * <p>Answer a resource representing an inverse functional property. If a resource * with the given uri exists in the model, and can be viewed as a InverseFunctionalProperty, return the * InverseFunctionalProperty facet, otherwise return null. </p> * @param uri The uri for the property. May not be null. * @return An InverseFunctionalProperty resource or null */ @Override public InverseFunctionalProperty getInverseFunctionalProperty( String uri ) { return (InverseFunctionalProperty) findByURIAs( uri, InverseFunctionalProperty.class ); }
/** * <p>Answer a resource representing the class that is the complement of another class. If a resource * with the given uri exists in the model, and can be viewed as a ComplementClass, return the * ComplementClass facet, otherwise return null. </p> * @param uri The URI of the new complement class. * @return A complement class or null */ @Override public ComplementClass getComplementClass( String uri ) { return (ComplementClass) findByURIAs( uri, ComplementClass.class ); }
/** * <p>Answer a resource representing a symmetric property. If a resource * with the given uri exists in the model, and can be viewed as a SymmetricProperty, return the * SymmetricProperty facet, otherwise return null. </p> * @param uri The uri for the property. May not be null. * @return A SymmetricProperty resource or null */ @Override public SymmetricProperty getSymmetricProperty( String uri ) { return (SymmetricProperty) findByURIAs( uri, SymmetricProperty.class ); }
/** * <p>Answer a resource representing the class that is the intersection of a list of class descriptions. If a resource * with the given uri exists in the model, and can be viewed as a IntersectionClass, return the * IntersectionClass facet, otherwise return null. </p> * @param uri The URI of the new intersection class. * @return An intersection class description or null */ @Override public IntersectionClass getIntersectionClass( String uri ) { return (IntersectionClass) findByURIAs( uri, IntersectionClass.class ); }
/** * <p>Answer a resource representing an inverse functional property. If a resource * with the given uri exists in the model, and can be viewed as a InverseFunctionalProperty, return the * InverseFunctionalProperty facet, otherwise return null. </p> * @param uri The uri for the property. May not be null. * @return An InverseFunctionalProperty resource or null */ @Override public InverseFunctionalProperty getInverseFunctionalProperty( String uri ) { return (InverseFunctionalProperty) findByURIAs( uri, InverseFunctionalProperty.class ); }
/** * <p>Answer a resource representing the class that is the complement of another class. If a resource * with the given uri exists in the model, and can be viewed as a ComplementClass, return the * ComplementClass facet, otherwise return null. </p> * @param uri The URI of the new complement class. * @return A complement class or null */ @Override public ComplementClass getComplementClass( String uri ) { return (ComplementClass) findByURIAs( uri, ComplementClass.class ); }
/** * <p>Answer a resource representing a transitive property. If a resource * with the given uri exists in the model, and can be viewed as a TransitiveProperty, return the * TransitiveProperty facet, otherwise return null. </p> * @param uri The uri for the property. May not be null. * @return A TransitiveProperty resource or null */ @Override public TransitiveProperty getTransitiveProperty( String uri ) { return (TransitiveProperty) findByURIAs( uri, TransitiveProperty.class ); }
/** * <p>Answer a resource representing the class that is the intersection of a list of class descriptions. If a resource * with the given uri exists in the model, and can be viewed as a IntersectionClass, return the * IntersectionClass facet, otherwise return null. </p> * @param uri The URI of the new intersection class. * @return An intersection class description or null */ @Override public IntersectionClass getIntersectionClass( String uri ) { return (IntersectionClass) findByURIAs( uri, IntersectionClass.class ); }
/** * <p>Answer a resource representing the class that is the enumeration of a list of individuals. If a resource * with the given uri exists in the model, and can be viewed as an EnumeratedClass, return the * EnumeratedClass facet, otherwise return null. </p> * @param uri The URI of the new enumeration class. * @return An enumeration class or null */ @Override public EnumeratedClass getEnumeratedClass( String uri ) { return (EnumeratedClass) findByURIAs( uri, EnumeratedClass.class ); }
/** * <p>Answer a resource representing the class that is the enumeration of a list of individuals. If a resource * with the given uri exists in the model, and can be viewed as an EnumeratedClass, return the * EnumeratedClass facet, otherwise return null. </p> * @param uri The URI of the new enumeration class. * @return An enumeration class or null */ @Override public EnumeratedClass getEnumeratedClass( String uri ) { return (EnumeratedClass) findByURIAs( uri, EnumeratedClass.class ); }
/** * <p>Answer a class description defined as the class of those individuals that have exactly * the given number of values for the given property. If a resource * with the given uri exists in the model, and can be viewed as a CardinalityRestriction, return the * CardinalityRestriction facet, otherwise return null. </p> * * @param uri The URI for the restriction * @return A resource representing a has-value restriction, or null */ @Override public CardinalityRestriction getCardinalityRestriction( String uri ) { return (CardinalityRestriction) findByURIAs( uri, CardinalityRestriction.class ); }
/** * <p>Answer a resource representing a transitive property. If a resource * with the given uri exists in the model, and can be viewed as a TransitiveProperty, return the * TransitiveProperty facet, otherwise return null. </p> * @param uri The uri for the property. May not be null. * @return A TransitiveProperty resource or null */ @Override public TransitiveProperty getTransitiveProperty( String uri ) { return (TransitiveProperty) findByURIAs( uri, TransitiveProperty.class ); }
/** * <p>Answer a resource representing the class that is the union of a list of class desctiptions. If a resource * with the given uri exists in the model, and can be viewed as a UnionClass, return the * UnionClass facet, otherwise return null. </p> * @param uri The URI of the new union class. * @return A union class description or null */ @Override public UnionClass getUnionClass( String uri ) { return (UnionClass) findByURIAs( uri, UnionClass.class ); }
/** * <p>Answer a class description defined as the class of those individuals for which all values * of the given property belong to the given class. If a resource * with the given uri exists in the model, and can be viewed as an AllValuesFromResriction, return the * AllValuesFromRestriction facet, otherwise return null. </p> * * @param uri The URI for the restriction * @return A resource representing an all-values-from restriction or null */ @Override public AllValuesFromRestriction getAllValuesFromRestriction( String uri ) { return (AllValuesFromRestriction) findByURIAs( uri, AllValuesFromRestriction.class ); }
/** * <p>Answer a class description defined as the class of those individuals that have at most * the given number of values for the given property. If a resource * with the given uri exists in the model, and can be viewed as a MaxCardinalityRestriction, return the * MaxCardinalityRestriction facet, otherwise return null.</p> * * @param uri The URI for the restriction * @return A resource representing a mas-cardinality restriction, or null */ @Override public MaxCardinalityRestriction getMaxCardinalityRestriction( String uri ) { return (MaxCardinalityRestriction) findByURIAs( uri, MaxCardinalityRestriction.class ); }
/** * <p> * Answer a resource that represents a property restriction in this model. If a resource * with the given uri exists in the model, and can be viewed as a Restriction, return the * Restriction facet, otherwise return null. * </p> * * @param uri The uri for the restriction node. * @return A Restriction resource or null */ @Override public Restriction getRestriction( String uri ) { return (Restriction) findByURIAs( uri, Restriction.class ); }
/** * <p>Answer a class description defined as the class of those individuals that have a property * p, with cardinality N, all values of which are members of a given class. * If a resource * with the given uri exists in the model, and can be viewed as a CardinalityQRestriction, return the * CardinalityQRestriction facet, otherwise return null.</p> * * @param uri The URI for the restriction * @return A resource representing a qualified cardinality restriction, or null */ @Override public CardinalityQRestriction getCardinalityQRestriction( String uri ) { return (CardinalityQRestriction) findByURIAs( uri, CardinalityQRestriction.class ); }
/** * <p>Answer a class description defined as the class of those individuals for which all values * of the given property belong to the given class. If a resource * with the given uri exists in the model, and can be viewed as an AllValuesFromResriction, return the * AllValuesFromRestriction facet, otherwise return null. </p> * * @param uri The URI for the restriction * @return A resource representing an all-values-from restriction or null */ @Override public AllValuesFromRestriction getAllValuesFromRestriction( String uri ) { return (AllValuesFromRestriction) findByURIAs( uri, AllValuesFromRestriction.class ); }
/** * <p>Answer a class description defined as the class of those individuals that have at most * the given number of values for the given property. If a resource * with the given uri exists in the model, and can be viewed as a MaxCardinalityRestriction, return the * MaxCardinalityRestriction facet, otherwise return null.</p> * * @param uri The URI for the restriction * @return A resource representing a mas-cardinality restriction, or null */ @Override public MaxCardinalityRestriction getMaxCardinalityRestriction( String uri ) { return (MaxCardinalityRestriction) findByURIAs( uri, MaxCardinalityRestriction.class ); }
/** * <p> * Answer a resource that represents an Individual node in this model. If a resource * with the given uri exists in the model, and can be viewed as an Individual, return the * Individual facet, otherwise return null. * </p> * * @param uri The URI for the requried individual * @return An Individual resource or null. */ @Override public Individual getIndividual( String uri ) { return (Individual) findByURIAs( uri, Individual.class ); }