public void addProperty(String name, String value) { VLViewPropertyXML prop = new VLViewPropertyXML(); prop.setName(name); prop.setValue(value); addProperty(prop); }
/** * @return */ public String getIconStyleClass() { return getPropertyValueByName("iconStyleClass"); }
/** * @param name * @return */ public VLViewPropertyXML getPropertyByName(String name) { return properties.getPropertyByName(name); }
/** * Setter of configuration * * @param configuration the configuration to set */ @Override public void setConfiguration(VLViewComponentXML configuration) { this.configuration = configuration; if (configuration != null) { mainLabelStyles = configuration.getPropertyValue("mainLabelStyleClass"); descriptionLabelStyles = configuration.getPropertyValue("descriptionLabelStyleClass"); } }
/** * Default Constructor */ public ColumnsDef(VLViewComponentXML columnConfig, TableColumnBase column) { this.columnConfig = columnConfig; responsiveOrder = columnConfig.getResponsiveOrder(); columnId = columnConfig.getId(); this.column = column; } }
/** * Get property as a string * * @param name * @return Optional */ public Optional<String> propertyValueOf(String name) { return propertyValueOf(name, ""); }
/** * @param wizardConfiguration the wizardConfiguration to set */ public void setConfiguration(VLViewComponentXML configuration) { this.configuration = configuration; id = configuration.getId(); }
public VLViewPropertiesXML build() { return new VLViewPropertiesXML(this); } }
public VLViewFilterAndOperatorXML and() { if (and == null) { return new VLViewFilterAndOperatorXML(); } return and; }
public VLViewFilterOrOperatorXML or() { if (or == null) { return new VLViewFilterOrOperatorXML(); } return or; }
/** * @param name * @return */ public String getPropertyValueByName(String name) { return properties.getPropertyValueByName(name); }
/** * @return */ public String getLink() { return getPropertyValueByName("link"); }
/** * {@inheritDoc} */ @Override public String getInternalId() { return configuration.getId(); }
/** * @return */ public String updateRSContentTo() { return getPropertyValueByName("updateRSContentTo"); }
/** * {@inheritDoc} */ @Override public String getInternalId() { return configuration.getId(); }
/** * @return */ public String getIcon() { return getPropertyValueByName("icon"); }
/** * @return */ public String getRootStructure() { return getPropertyValueByName("setRootStructure"); }
/** * @return */ public String getLoadChildView() { return getPropertyValueByName("loadChildView"); }
/** * @return */ public String getSetRootviewContent() { return getPropertyValueByName("setRootviewContent"); }
/** * @return */ public String getToolTip() { return getPropertyValueByName("tooltip"); }