LicensedComponent Class
- public abstract class LicensedComponent
extends Object
Represents a licensed component of a product.
Encapsulation of Product Name, Release, and Component Name.
-
Hierarchy
-
Object
LicensedComponent
LicensedComponent
protected LicensedComponent(String theProduct,
String theRelease,
String theComponentName)
- for backwards compatibility
LicensedComponent
protected LicensedComponent(String theComponentName)
- Must be subclassed to be useful
equals(Object) Method
public final boolean equals(Object anObject)
-
Overrides
-
Object.equals(Object)
getComponentName() Method
public final String getComponentName()
Get the core component name of the product
getProductName() Method
public final String getProductName()
Get the name of the Product
getRelease() Method
public final String getRelease()
Get the release (number) of the product
hashCode() Method
public final int hashCode()
-
Overrides
-
Object.hashCode()
toString() Method
public final String toString()
Return a string representation of the Product.
productName:componentName:release
-
Overrides
-
Object.toString()