org.hippoecm.hst.configuration.channel
Class AbstractHstPropertyDefinition
java.lang.Object
org.hippoecm.hst.configuration.channel.AbstractHstPropertyDefinition
- All Implemented Interfaces:
- HstPropertyDefinition
- Direct Known Subclasses:
- AnnotationHstPropertyDefinition, JcrHstPropertyDefinition
public class AbstractHstPropertyDefinition
- extends Object
- implements HstPropertyDefinition
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected final String name
type
protected HstValueType type
required
protected boolean required
defaultValue
protected Object defaultValue
AbstractHstPropertyDefinition
public AbstractHstPropertyDefinition(String name)
getValueType
public HstValueType getValueType()
- Specified by:
getValueType
in interface HstPropertyDefinition
getName
public String getName()
- Specified by:
getName
in interface HstPropertyDefinition
getDefaultValue
public Object getDefaultValue()
- Specified by:
getDefaultValue
in interface HstPropertyDefinition
isRequired
public boolean isRequired()
- Specified by:
isRequired
in interface HstPropertyDefinition
getAnnotations
public List<Annotation> getAnnotations()
- Specified by:
getAnnotations
in interface HstPropertyDefinition
getAnnotation
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
- Specified by:
getAnnotation
in interface HstPropertyDefinition
Copyright © 2008-2012 Hippo. All Rights Reserved.