package de.ivu.elect.business.kandidatur.entity;

import de.ivu.elect.jee.presentation.dynamicform.Property;

@javax.enterprise.inject.Vetoed
public class DirektkandidaturProperties
extends de.ivu.elect.business.kandidatur.entity.KandidaturProperties
{

private final Direktkandidatur entity;


    
    private
                de.ivu.elect.jee.presentation.dynamicform.LambdaStringProperty
                  dummyProperty;

        
    

public DirektkandidaturProperties(Direktkandidatur entity) {
super(entity);
this.entity = entity;

}

private static DirektkandidaturMeta getMetaData() {
return de.ivu.elect.jee.cdi.BeanManagerUtil.getBeanByClass( DirektkandidaturMeta.class);
}


    

        public
                    de.ivu.elect.jee.presentation.dynamicform.AbstractStringProperty
                getDummyProperty() {
        if (dummyProperty == null) {
        dummyProperty = new


                    de.ivu.elect.jee.presentation.dynamicform.LambdaStringProperty
        
        (
        getMetaData().getDummyEinzahlMessage(),
        getMetaData().getDummyDefaultValue(),
        getMetaData().isDummyRequired(),
                entity::setDummy,
        entity::getDummy

                    , 0 ,
            de.ivu.elect.business.kandidatur.entity.DirektkandidaturConstants.DUMMY_MAX_LENGTH
                );

        }


        return dummyProperty;
        }





        
        }