Class Capacity
java.lang.Object
org.jboss.jca.common.api.metadata.common.Capacity
- All Implemented Interfaces:
Serializable,JCAMetadata,ValidatableMetadata
Capacity definition
- Author:
- Jesper Pedersen
- See Also:
-
Constructor Details
-
Capacity
Constructor- Parameters:
incrementer- The incrementer plugindecrementer- The decrementer plugin- Throws:
ValidateException- in case of not valid metadata creation
-
-
Method Details
-
getIncrementer
Get the incrementer- Returns:
- The value
-
getDecrementer
Get the decrementer- Returns:
- The value
-
validate
Description copied from interface:ValidatableMetadataValidate this metadata according validation required by specification- Specified by:
validatein interfaceValidatableMetadata- Throws:
ValidateException- in case of validation fail
-
hashCode
public int hashCode() -
equals
-
toString
-