ModeShape Distribution 3.2.0.Final

org.modeshape.sequencer.teiid
Class VdbEntry

java.lang.Object
  extended by 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
VdbEntry(String path)
           
 
Method Summary
 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)

ModeShape Distribution 3.2.0.Final

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