LicensedComponent Class

com.bea.p13n.license
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

Constructor Summary

LicensedComponent(String theProduct, String theRelease, String theComponentName)

for backwards compatibility
LicensedComponent(String theComponentName)

Must be subclassed to be useful
 

Method Summary

public final boolean
equals(Object anObject)
public final String
getComponentName()
Get the core component name of the product
public final String
getProductName()
Get the name of the Product
public final String
getRelease()
Get the release (number) of the product
public final int
hashCode()
public final String
toString()
Return a string representation of the Product.
 
Methods from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
   

Constructor Detail

LicensedComponent

protected LicensedComponent(String theProduct, 
                            String theRelease, 
                            String theComponentName)
for backwards compatibility

LicensedComponent

protected LicensedComponent(String theComponentName)
Must be subclassed to be useful
 

Method Detail

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()