Annotation Interface Module
Annotation to define metadata for a module.
This annotation is used to specify attributes related to a software module,
including its name, description, version, vendor, and other key properties.
- Author:
- Syam
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionintRetrieves the build number of the module.Provides a description of the module.Specifies the name of the JAR file associated with the module.intRetrieves the release number of the module.Retrieves the vendor information associated with the module.Retrieves the version of the module.intRetrieves the year associated with the module.
-
Element Details
-
moduleName
-
description
String descriptionProvides a description of the module.- Returns:
- the description of the module as a string, or an empty string if no description is provided
- Default:
""
-
jarName
String jarNameSpecifies the name of the JAR file associated with the module.- Returns:
- the name of the JAR file as a string, or an empty string if no JAR name is defined
- Default:
""
-
build
int buildRetrieves the build number of the module.- Returns:
- the build number of the module as an integer, or 0 if no build number is specified
- Default:
0
-
release
int releaseRetrieves the release number of the module.- Returns:
- the release number of the module as an integer, or 0 if no release number is specified
- Default:
0
-
version
String versionRetrieves the version of the module.- Returns:
- the version of the module as a string, or an empty string if no version is specified
- Default:
""
-
vendor
String vendorRetrieves the vendor information associated with the module.- Returns:
- the vendor information as a string. If no vendor information is specified, it defaults to "www.storedobject.com".
- Default:
"www.storedobject.com"
-
year
int yearRetrieves the year associated with the module.- Returns:
- the year as an integer, or 0 if no year is specified
- Default:
0
-