org.modeshape.sequencer.teiid

## Class VdbEntry

- java.lang.Object
- - org.modeshape.sequencer.teiid.VdbEntry

- All Implemented Interfaces:
    Comparable<VdbEntry>

      public class VdbEntry
      extends Object
      implements Comparable<VdbEntry>

  A simple POJO that is used to represent the information for a VDB entry read in from a VDB manifest ("vdb.xml").

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `VdbEntry(String path)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compareTo(VdbEntry that)`
    `String` | `getDescription()`
    `String` | `getPath()`
    `Map<String,String>` | `getProperties()`
    `void` | `setDescription(String newValue)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### VdbEntry

          public VdbEntry(String path)

      Parameters:
        `path` - the path associated with the entry (cannot be `null` or empty)

  - ### Method Detail

    - #### compareTo

          public int compareTo(VdbEntry that)

      Specified by:
        `compareTo` in interface `Comparable<VdbEntry>`
      See Also:
        `Comparable.compareTo(java.lang.Object)`

    - #### getDescription

          public String getDescription()

      Returns:
        the description (never `null` but can be empty)

    - #### getPath

          public String getPath()

      Returns:
        the entry path (never `null` or empty)

    - #### getProperties

          public Map<String,String> getProperties()

      Returns:
        the overridden properties (never `null`)

    - #### setDescription

          public void setDescription(String newValue)

      Parameters:
        `newValue` - the new description value (can be `null` or empty)

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.