Class AttributeInfo

java.lang.Object
org.apache.tomcat.util.modeler.FeatureInfo
org.apache.tomcat.util.modeler.AttributeInfo
All Implemented Interfaces:
Serializable

public class AttributeInfo extends FeatureInfo

Internal configuration information for an Attribute descriptor.

Author:
Craig R. McClanahan
See Also:
  • Field Details

    • displayName

      protected String displayName
    • getMethod

      protected String getMethod
    • setMethod

      protected String setMethod
    • readable

      protected boolean readable
    • writeable

      protected boolean writeable
    • is

      protected boolean is
  • Constructor Details

    • AttributeInfo

      public AttributeInfo()
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Returns:
      the display name of this attribute.
    • setDisplayName

      public void setDisplayName(String displayName)
    • getGetMethod

      public String getGetMethod()
      Returns:
      the name of the property getter method, if non-standard.
    • setGetMethod

      public void setGetMethod(String getMethod)
    • isIs

      public boolean isIs()
      Is this a boolean attribute with an "is" getter?
      Returns:
      true if this is a boolean attribute with an "is" getter
    • setIs

      public void setIs(boolean is)
    • isReadable

      public boolean isReadable()
      Is this attribute readable by management applications?
      Returns:
      true if readable
    • setReadable

      public void setReadable(boolean readable)
    • getSetMethod

      public String getSetMethod()
      Returns:
      the name of the property setter method, if non-standard.
    • setSetMethod

      public void setSetMethod(String setMethod)
    • isWriteable

      public boolean isWriteable()
      Is this attribute writable by management applications?
      Returns:
      true if writable
    • setWriteable

      public void setWriteable(boolean writeable)