Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2002 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bea.p13n.license
Class LicensedComponent

    java.lang.Object
      |
      +--com.bea.p13n.license.LicensedComponent

public abstract class LicensedComponent
extends java.lang.Object

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

Constructor Summary
`protected` | `LicensedComponent(java.lang.String theComponentName)` Must be subclassed to be useful
`protected` | `LicensedComponent(java.lang.String theProduct, java.lang.String theRelease, java.lang.String theComponentName)` for backwards compatibility

Method Summary
`boolean` | `equals(java.lang.Object anObject)`
`java.lang.String` | `getComponentName()` Get the core component name of the product
`java.lang.String` | `getProductName()` Get the name of the Product
`java.lang.String` | `getRelease()` Get the release (number) of the product
`int` | `hashCode()`
`java.lang.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(java.lang.String theProduct,
                                java.lang.String theRelease,
                                java.lang.String theComponentName)

  for backwards compatibility

### LicensedComponent

    protected LicensedComponent(java.lang.String theComponentName)

  Must be subclassed to be useful

Method Detail

### getProductName

    public final java.lang.String getProductName()

  Get the name of the Product

### getRelease

    public final java.lang.String getRelease()

  Get the release (number) of the product

### getComponentName

    public final java.lang.String getComponentName()

  Get the core component name of the product

### toString

    public final java.lang.String toString()

  Return a string representation of the Product.

         productName:componentName:release

  Overrides:
    toString in class java.lang.Object

### hashCode

    public final int hashCode()

  Overrides:
    hashCode in class java.lang.Object

### equals

    public final boolean equals(java.lang.Object anObject)

  Overrides:
    equals in class java.lang.Object

Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2002 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 BEA Systems, Inc. All Rights Reserved