Class AttributeInfo
java.lang.Object
org.apache.tomcat.util.modeler.FeatureInfo
org.apache.tomcat.util.modeler.AttributeInfo
- All Implemented Interfaces:
Serializable
Internal configuration information for an Attribute descriptor.
- Author:
- Craig R. McClanahan
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected booleanprotected booleanprotected Stringprotected booleanFields inherited from class org.apache.tomcat.util.modeler.FeatureInfo
description, info, name, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisIs()Is this a boolean attribute with an "is" getter?booleanIs this attribute readable by management applications?booleanIs this attribute writable by management applications?voidsetDisplayName(String displayName) voidsetGetMethod(String getMethod) voidsetIs(boolean is) voidsetReadable(boolean readable) voidsetSetMethod(String setMethod) voidsetWriteable(boolean writeable) Methods inherited from class org.apache.tomcat.util.modeler.FeatureInfo
getDescription, getName, getType, setDescription, setName, setType
-
Field Details
-
displayName
-
getMethod
-
setMethod
-
readable
protected boolean readable -
writeable
protected boolean writeable -
is
protected boolean is
-
-
Constructor Details
-
AttributeInfo
public AttributeInfo()
-
-
Method Details
-
getDisplayName
- Returns:
- the display name of this attribute.
-
setDisplayName
-
getGetMethod
- Returns:
- the name of the property getter method, if non-standard.
-
setGetMethod
-
isIs
public boolean isIs()Is this a boolean attribute with an "is" getter?- Returns:
trueif 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:
trueif readable
-
setReadable
public void setReadable(boolean readable) -
getSetMethod
- Returns:
- the name of the property setter method, if non-standard.
-
setSetMethod
-
isWriteable
public boolean isWriteable()Is this attribute writable by management applications?- Returns:
trueif writable
-
setWriteable
public void setWriteable(boolean writeable)
-