Class AtrBean

java.lang.Object
sk.iway.iwcm.doc.AtrBean
All Implemented Interfaces:
Serializable

public class AtrBean extends Object implements Serializable
Bean popisujuci atribut stranky (vratane definicii)
See Also:
  • Constructor Details

    • AtrBean

      public AtrBean()
  • Method Details

    • getHtml

      public String getHtml()
      vygeneruje HTML podobu atributu
      Returns:
    • getHtml

      public String getHtml(boolean onWebPage)
      vygeneruje HTML podobu atributu
      Returns:
    • getHtml

      public String getHtml(boolean onWebPage, String name, String id, String classes)
      vygeneruje HTML podobu atributu
      Returns:
    • getValue

      public String getValue()
      ziska hodnotu ako string
      Returns:
    • getValueHtml

      public String getValueHtml()
    • getAtrId

      public int getAtrId()
      Gets the atrId attribute of the AtrBean object
      Returns:
      The atrId value
    • setAtrId

      public void setAtrId(int atrId)
      Sets the atrId attribute of the AtrBean object
      Parameters:
      atrId - The new atrId value
    • setAtrName

      public void setAtrName(String atrName)
      Sets the atrName attribute of the AtrBean object
      Parameters:
      atrName - The new atrName value
    • getAtrName

      public String getAtrName()
      Gets the atrName attribute of the AtrBean object
      Returns:
      The atrName value
    • getAtrName

      public String getAtrName(String lang)
    • setAtrDescription

      public void setAtrDescription(String atrDescription)
      Sets the atrDescription attribute of the AtrBean object
      Parameters:
      atrDescription - The new atrDescription value
    • getAtrDescription

      public String getAtrDescription()
      Gets the atrDescription attribute of the AtrBean object
      Returns:
      The atrDescription value
    • getAtrDescription

      public String getAtrDescription(String lang)
    • setAtrDefaultValue

      public void setAtrDefaultValue(String atrDefaultValue)
      Sets the atrDefaultValue attribute of the AtrBean object
      Parameters:
      atrDefaultValue - The new atrDefaultValue value
    • getAtrDefaultValue

      public String getAtrDefaultValue()
      Gets the atrDefaultValue attribute of the AtrBean object
      Returns:
      The atrDefaultValue value
    • getAtrDefaultValue

      public String getAtrDefaultValue(String lang)
      Gets the atrDefaultValue attribute of the AtrBean object
      Returns:
      The atrDefaultValue value
    • setAtrType

      public void setAtrType(int atrType)
      Sets the atrType attribute of the AtrBean object
      Parameters:
      atrType - The new atrType value
    • getAtrType

      public int getAtrType()
      Gets the atrType attribute of the AtrBean object
      Returns:
      The atrType value
    • setDocId

      public void setDocId(int docId)
      Sets the docId attribute of the AtrBean object
      Parameters:
      docId - The new docId value
    • getDocId

      public int getDocId()
      Gets the docId attribute of the AtrBean object
      Returns:
      The docId value
    • setValueString

      public void setValueString(String valueString)
      Sets the valueString attribute of the AtrBean object
      Parameters:
      valueString - The new valueString value
    • getValueString

      public String getValueString()
      Gets the valueString attribute of the AtrBean object
      Returns:
      The valueString value
    • setValueNumber

      public void setValueNumber(double valueNumber)
      Sets the valueInt attribute of the AtrBean object
      Parameters:
      valueNumber - The new valueNumber value
    • getValueNumber

      public double getValueNumber()
      Gets the valueInt attribute of the AtrBean object
      Returns:
      The valueInt value
    • setValueInt

      public void setValueInt(int valueInt)
    • getValueInt

      public int getValueInt()
    • setValueBool

      public void setValueBool(boolean valueBool)
      Sets the valueBool attribute of the AtrBean object
      Parameters:
      valueBool - The new valueBool value
    • isValueBool

      public boolean isValueBool()
      Gets the valueBool attribute of the AtrBean object
      Returns:
      The valueBool value
    • setOrderPriority

      public void setOrderPriority(int orderPriority)
    • getOrderPriority

      public int getOrderPriority()
    • setAtrGroup

      public void setAtrGroup(String atrGroup)
    • getAtrGroup

      public String getAtrGroup()
    • getAtrGroup

      public String getAtrGroup(String lang)
    • getTrueValue

      public String getTrueValue()
    • setTrueValue

      public void setTrueValue(String trueValue)
    • getFalseValue

      public String getFalseValue()
    • setFalseValue

      public void setFalseValue(String falseValue)
    • getHtml

      public String getHtml(String lang)
      vygeneruje HTML podobu atributu
      Parameters:
      lang - - jazyk web stranky
      Returns:
    • parse

      public static String parse(String str, String lang)