© 2005 BEA Systems, Inc.

com.bea.p13n.license
Class LicensedComponent

java.lang.Object
  extended bycom.bea.p13n.license.LicensedComponent

public abstract class LicensedComponent
extends Object

Represents a licensed component of a product. Encapsulation of Product Name, Release, and Component Name.


Constructor Summary
protected LicensedComponent(String theComponentName)
          Must be subclassed to be useful
protected LicensedComponent(String theProduct, String theRelease, String theComponentName)
          for backwards compatibility
 
Method Summary
 boolean equals(Object anObject)
           
 String getComponentName()
          Get the core component name of the product
 String getProductName()
          Get the name of the Product
 String getRelease()
          Get the release (number) of the product
 int hashCode()
           
 String toString()
          Return a string representation of the Product.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LicensedComponent

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


LicensedComponent

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

Method Detail

equals

public final boolean equals(Object anObject)

getComponentName

public final String getComponentName()
Get the core component name of the product


getProductName

public final String getProductName()
Get the name of the Product


getRelease

public final String getRelease()
Get the release (number) of the product


hashCode

public final int hashCode()

toString

public final String toString()
Return a string representation of the Product.
   productName:componentName:release
 


© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved