Class PropertyType.PropertyMethod
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.utils.configuration.PropertyType.PropertyMethod
-
- Direct Known Subclasses:
PropertyType.FloatPropertyMethod,PropertyType.ResourcePropertyMethod,PropertyType.StringPropertyMethod
- Enclosing class:
- PropertyType
public abstract static class PropertyType.PropertyMethod extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected intmaxOccursprotected Methodmethodprotected intminOccursprotected StringpropertyUriprotected PropertyTypetype
-
Constructor Summary
Constructors Constructor Description PropertyMethod(PropertyType type, Method method, Property annotation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfirmCompatible(PropertyType.PropertyStatement ps)intgetMaxOccurs()MethodgetMethod()intgetMinOccurs()Class<?>getParameterType()StringgetPropertyUri()voidinvoke(Object instance, Object value)
-
-
-
Field Detail
-
type
protected final PropertyType type
-
method
protected final Method method
-
propertyUri
protected final String propertyUri
-
minOccurs
protected final int minOccurs
-
maxOccurs
protected final int maxOccurs
-
-
Constructor Detail
-
PropertyMethod
public PropertyMethod(PropertyType type, Method method, Property annotation)
-
-
Method Detail
-
getMethod
public Method getMethod()
-
getParameterType
public Class<?> getParameterType()
-
getPropertyUri
public String getPropertyUri()
-
getMinOccurs
public int getMinOccurs()
-
getMaxOccurs
public int getMaxOccurs()
-
confirmCompatible
public void confirmCompatible(PropertyType.PropertyStatement ps) throws PropertyType.PropertyTypeException
-
invoke
public void invoke(Object instance, Object value) throws PropertyType.PropertyTypeException
-
-