org.openxava.view.meta
Class MetaViewAction

java.lang.Object
  extended by org.openxava.util.meta.MetaElement
      extended by org.openxava.model.meta.MetaMember
          extended by org.openxava.model.meta.MetaProperty
              extended by org.openxava.view.meta.MetaViewAction
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable

public class MetaViewAction
extends MetaProperty

Represents an action shown inside a view.

It's a MetaProperty to be treated (in layout terms only) as an property.

Author:
Javier Paniza
See Also:
Serialized Form

Constructor Summary
MetaViewAction(java.lang.String action)
           
 
Method Summary
 java.lang.String getAction()
           
 boolean isAlwaysEnabled()
           
 void setAlwaysEnabled(boolean alwaysEnabled)
           
 
Methods inherited from class org.openxava.model.meta.MetaProperty
addMetaValidator, addValidValue, cloneMetaProperty, containsValidValue, createDefaultValueCalculator, depends, equals, format, format, getCalculator, getCMPTypeName, getDependentPropertiesNames, getHbmGeneratorCode, getMapping, getMetaCalculator, getMetaCalculatorDefaultValue, getMetaValidators, getPropertyNamesThatIDepend, getQualifiedLabel, getScale, getSize, getStereotype, getType, getTypeName, getValidValue, getValidValueIndex, getValidValueLabel, getValidValueLabel, getValidValueLabel, getValidValueLabel, getValidValuesLabels, hasCalculator, hasCalculatorDefaultValueOnCreate, hasDefaultValueCalculator, hasDependentProperties, hashCode, hasMetaModel, hasStereotype, hasValidValues, isCalculated, isDefaultCalculatorHibernateIdGenerator, isHidden, isKey, isNumber, isPersistent, isReadOnly, isRequired, isSearchKey, isTransient, isVersion, parse, parse, setHidden, setKey, setMetaCalculator, setMetaCalculatorDefaultValue, setReadOnly, setRequired, setScale, setSearchKey, setSize, setStereotype, setTransient, setTypeName, setVersion, toString, validate, validate, validValues, validValuesLabels, validValuesLabels
 
Methods inherited from class org.openxava.model.meta.MetaMember
compareTo, getId, getLabelId, getMetaModel, getQualifiedName, setLabelId, setMetaModel, setQualifiedName
 
Methods inherited from class org.openxava.util.meta.MetaElement
getDescription, getDescription, getDescription, getLabel, getLabel, getLabel, getLocale, getName, has18nLabel, hasName, setDescription, setLabel, setName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MetaViewAction

public MetaViewAction(java.lang.String action)
               throws XavaException
Throws:
XavaException
Method Detail

getAction

public java.lang.String getAction()

isAlwaysEnabled

public boolean isAlwaysEnabled()

setAlwaysEnabled

public void setAlwaysEnabled(boolean alwaysEnabled)