public interface SubjectInfo
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getImplementedClass()
Get the class that was annotated with the Subject annotation.
|
PredicateInfo |
getPredicateInfo(Method method)
Get the predicateInfo or return null if not found
|
PredicateInfo |
getPredicateInfo(String methodName,
Class<?> clazz)
Get the predicate info for a method.
|
com.hp.hpl.jena.rdf.model.Property |
getPredicateProperty(Method method)
Get the Property that is the predicate for the method.
|
com.hp.hpl.jena.rdf.model.Property |
getPredicateProperty(String methodName)
Get the Property that is the predicate for the method.
|
String |
getPredicateUriStr(Method method)
The the URI string of the predicate property.
|
String |
getPredicateUriStr(String methodName)
The the URI string of the predicate property.
|
Subject |
getSubject()
Get the @Subject annotation object for this subject.
|
void |
validate(Collection<Class<?>> iface)
Validate that this subject info implements all the methods for all the
interfaces listed in iface.
|
Class<?> getImplementedClass()
PredicateInfo getPredicateInfo(Method method)
method - The method to get information for.PredicateInfo getPredicateInfo(String methodName, Class<?> clazz)
methodName - The method nameclazz - The return type (for a getter type method) or parameter type
(for a setter type method)com.hp.hpl.jena.rdf.model.Property getPredicateProperty(Method method)
method - The method to lookup.com.hp.hpl.jena.rdf.model.Property getPredicateProperty(String methodName)
methodName - The method name to lookup.String getPredicateUriStr(Method method)
method - The method to get the predicate for.String getPredicateUriStr(String methodName)
methodName - The name of the method to get the predicate for.Subject getSubject()
void validate(Collection<Class<?>> iface)
iface - The list of interfaces that this subjectInfo should implement.Copyright © 2012-2013 XENEI.com. All Rights Reserved.