Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.novell.service.ncpext
Interface NCPExtensionInfo

public interface NCPExtensionInfo

Provides an attribute of an NCPExtension with a single value that is an instance of NCPExtensionInfoImpl.

See Also:
  `NCPExtensionInfoImpl`

Field Summary
`static java.lang.String` | `attrID` The attribute ID of this attribute.
`static int` | `queryDataLength` The length of the query data requested and returned.

Method Summary
`int` | `getExtensionID()` Returns the NCP Extension ID.
`java.lang.String` | `getExtensionName()` Returns the NCP Extension name.
`int` | `getMajorVersion()` Returns the NCP Extension major version.
`int` | `getMinorVersion()` Returns the NCP Extension minor version.
`byte[]` | `getQueryData()` Returns the NCP Extension query data.
`int` | `getRevision()` Returns the NCP Extension revision.
`void` | `setExtensionID(int id)` Sets the NCP Extension ID.
`void` | `setExtensionName(java.lang.String name)` Sets the NCP Extension name.
`void` | `setMajorVersion(int ver)` Sets the NCP Extension major version.
`void` | `setMinorVersion(int ver)` Sets the NCP Extension minor version.
`void` | `setQueryData(byte[] data)` Sets the NCP Extension query data.
`void` | `setRevision(int ver)` Sets the NCP Extension revision.

Field Detail

### attrID

    public static final java.lang.String attrID

  The attribute ID of this attribute. (attrID = NCPExtensionStrings.NCPEXTENSION_ATTRIBUTE_ID)

### queryDataLength

    public static final int queryDataLength

  The length of the query data requested and returned. (queryDataLength = 32)

Method Detail

### getExtensionID

    public int getExtensionID()

  Returns the NCP Extension ID.
  Returns:
    The NCP Extension ID.

### getExtensionName

    public java.lang.String getExtensionName()

  Returns the NCP Extension name.
  Returns:
    The NCP Extension Name.

### getMajorVersion

    public int getMajorVersion()

  Returns the NCP Extension major version.
  Returns:
    The NCP Extension major version.

### getMinorVersion

    public int getMinorVersion()

  Returns the NCP Extension minor version.
  Returns:
    The NCP Extension minor version.

### getRevision

    public int getRevision()

  Returns the NCP Extension revision.
  Returns:
    The NCP Extension revision.

### getQueryData

    public byte[] getQueryData()

  Returns the NCP Extension query data.
  Returns:
    The NCP Extension query data in a byte array.

### setExtensionID

    public void setExtensionID(int id)

  Sets the NCP Extension ID.
  Parameters:
    `id` - The NCP Extension ID.

### setExtensionName

    public void setExtensionName(java.lang.String name)

  Sets the NCP Extension name.
  Parameters:
    `name` - The NCP Extension name as a String.

### setMajorVersion

    public void setMajorVersion(int ver)

  Sets the NCP Extension major version.
  Parameters:
    `ver` - The NCP Extension major verion.

### setMinorVersion

    public void setMinorVersion(int ver)

  Sets the NCP Extension minor version.
  Parameters:
    `ver` - The NCP Extension minor verion.

### setRevision

    public void setRevision(int ver)

  Sets the NCP Extension revision.
  Parameters:
    `ver` - The NCP Extension revision.

### setQueryData

    public void setQueryData(byte[] data)

  Sets the NCP Extension query data.
  Parameters:
    `data` - The NCP Extension query data as a byte array.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD