org.hippoecm.hst.configuration.channel
Class AbstractHstPropertyDefinition

java.lang.Object
  extended by org.hippoecm.hst.configuration.channel.AbstractHstPropertyDefinition
All Implemented Interfaces:
HstPropertyDefinition
Direct Known Subclasses:
AnnotationHstPropertyDefinition, JcrHstPropertyDefinition

public class AbstractHstPropertyDefinition
extends Object
implements HstPropertyDefinition


Field Summary
protected  Object defaultValue
           
protected  String name
           
protected  boolean required
           
protected  HstValueType type
           
 
Constructor Summary
AbstractHstPropertyDefinition(String name)
           
 
Method Summary
<T extends Annotation>
T
getAnnotation(Class<T> annotationClass)
           
 List<Annotation> getAnnotations()
           
 Object getDefaultValue()
           
 String getName()
           
 HstValueType getValueType()
           
 boolean isRequired()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected final String name

type

protected HstValueType type

required

protected boolean required

defaultValue

protected Object defaultValue
Constructor Detail

AbstractHstPropertyDefinition

public AbstractHstPropertyDefinition(String name)
Method Detail

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.