|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xenei.jena.entities.impl.SubjectInfoImpl
public class SubjectInfoImpl
| Constructor Summary | |
|---|---|
SubjectInfoImpl(Class<?> implementedClass)
|
|
| Method Summary | |
|---|---|
void |
add(PredicateInfoImpl pi)
Add a predicate info to this subject. |
Class<?> |
getImplementedClass()
Get the class that was annotated with the Subject annotation. |
PredicateInfo |
getPredicateInfo(Method m)
Get the predicateInfo or return null if not found |
PredicateInfo |
getPredicateInfo(String function,
Class<?> clazz)
Get the predicate info for a method. |
com.hp.hpl.jena.rdf.model.Property |
getPredicateProperty(Method m)
Get the RDF Property for the method |
com.hp.hpl.jena.rdf.model.Property |
getPredicateProperty(String methodName)
Get the RDF property for a method name. |
String |
getPredicateUriStr(Method m)
The the URI string of the predicate property. |
String |
getPredicateUriStr(String function)
The the URI string of the predicate property. |
void |
removePredicateInfo(Method m)
Remove a predicate info from this subject. |
void |
removePredicateInfo(String function,
Class<?> clazz)
Remove a predicate info from this subject. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubjectInfoImpl(Class<?> implementedClass)
| Method Detail |
|---|
public Class<?> getImplementedClass()
SubjectInfo
getImplementedClass in interface SubjectInfopublic void add(PredicateInfoImpl pi)
pi - The predicateInfo to add.
public PredicateInfo getPredicateInfo(String function,
Class<?> clazz)
SubjectInfo
getPredicateInfo in interface SubjectInfofunction - The method nameclazz - The return type (for a getter type method) or parameter type (for a setter type method)
public void removePredicateInfo(String function,
Class<?> clazz)
function - The function to removeclazz - The class that is expected for the parameter (setter) or for
return (getter).public PredicateInfo getPredicateInfo(Method m)
SubjectInfo
getPredicateInfo in interface SubjectInfom - The method to get information for.
public void removePredicateInfo(Method m)
m - the method to rermovepublic String getPredicateUriStr(String function)
SubjectInfo
getPredicateUriStr in interface SubjectInfofunction - The name of the method to get the predicate for.
public String getPredicateUriStr(Method m)
SubjectInfo
getPredicateUriStr in interface SubjectInfom - The method to get the predicate for.
public com.hp.hpl.jena.rdf.model.Property getPredicateProperty(Method m)
getPredicateProperty in interface SubjectInfom - The method to get the property for.
public com.hp.hpl.jena.rdf.model.Property getPredicateProperty(String methodName)
getPredicateProperty in interface SubjectInfomethodName - The method name to locate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||