java.lang.Object
io.github.jeemv.springboot.vuejs.components.VueProp

public class VueProp extends Object
Represents a VueJS property for Components This class is part of springBoot-VueJS
  • Constructor Details

    • VueProp

      public VueProp(String name, String type, boolean required, Object defaultValue)
    • VueProp

      public VueProp(String name, String type, boolean required)
    • VueProp

      public VueProp(String name, String type)
    • VueProp

      public VueProp(String name)
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getTypes

      public List<String> getTypes()
    • addType

      public void addType(String type)
    • setTypes

      public void setTypes(String... types)
    • isRequired

      public boolean isRequired()
    • setRequired

      public void setRequired(boolean required)
    • getDefaultValue

      public Object getDefaultValue()
    • setDefaultValue

      public void setDefaultValue(Object defaultValue)
    • getValidator

      public VueMethod getValidator()
    • setValidator

      public void setValidator(String validatorBody)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isSimple

      public boolean isSimple()