Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2003 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | 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 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 theProduct,
                                String theRelease,
                                String theComponentName)

  for backwards compatibility

### LicensedComponent

    protected LicensedComponent(String theComponentName)

  Must be subclassed to be useful

Method Detail

### getProductName

    public final String getProductName()

  Get the name of the Product

### getRelease

    public final String getRelease()

  Get the release (number) of the product

### getComponentName

    public final String getComponentName()

  Get the core component name of the product

### toString

    public final String toString()

  Return a string representation of the Product.

         productName:componentName:release

  Overrides:
    `toString` in class `Object`

### hashCode

    public final int hashCode()

  Overrides:
    `hashCode` in class `Object`

### equals

    public final boolean equals(Object anObject)

  Overrides:
    `equals` in class `Object`

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

Copyright © 2003 BEA Systems, Inc. All Rights Reserved