com.metamatrix.vdb.runtime
Class BasicVDBInfo

java.lang.Object
  extended by com.metamatrix.vdb.runtime.BasicVDBInfo
All Implemented Interfaces:
VDBInfo, java.io.Serializable
Direct Known Subclasses:
BasicVDBDefn

public class BasicVDBInfo
extends java.lang.Object
implements VDBInfo, java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  java.util.Map modelInfos
           
 
Constructor Summary
BasicVDBInfo(java.lang.String vdbName)
           
 
Method Summary
 void addModelInfo(ModelInfo model)
           
 java.lang.String getCreatedBy()
          Get the name of the person who created this VDB.
 java.util.Date getDateCreated()
          Get the date this VDB was deployed.
 java.lang.String getDescription()
          Get this VDB's description.
 java.lang.String getFileName()
          Get this name of the VDB jar file.
 ModelInfo getModel(java.lang.String name)
          Returns the ModelInfo for the name specified
 java.util.Collection getModels()
          Get the Collection of Models this VDB is comprised of.
 java.lang.String getName()
          Get this name of this VDB.
 java.lang.String getUUID()
          Get this VDB's UUID.
 java.lang.String getVersion()
          Returns the vdbVersion.
 boolean hasWSDLDefined()
          Returns true if a WSDL is defined for this VDB
 ModelInfo removeModelInfo(java.lang.String modelName)
           
 void setCreatedBy(java.lang.String createdBy)
           
 void setDateCreated(java.util.Date date)
           
 void setDescription(java.lang.String description)
           
 void setFileName(java.lang.String fileName)
           
 void setHasWSDLDefined(boolean defined)
           
 void setModelInfos(java.util.Collection models)
           
 void setName(java.lang.String name)
           
 void setUUID(java.lang.String objectID)
           
 void setVersion(java.lang.String version)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

modelInfos

protected java.util.Map modelInfos
Constructor Detail

BasicVDBInfo

public BasicVDBInfo(java.lang.String vdbName)
Method Detail

getName

public java.lang.String getName()
Description copied from interface: VDBInfo
Get this name of this VDB.

Specified by:
getName in interface VDBInfo
Returns:
the VDB's name; never null or zero-length

setName

public void setName(java.lang.String name)

getUUID

public java.lang.String getUUID()
Description copied from interface: VDBInfo
Get this VDB's UUID.

Specified by:
getUUID in interface VDBInfo
Returns:
The UUID as a String.

getVersion

public java.lang.String getVersion()
Returns the vdbVersion.

Returns:
String

getDescription

public java.lang.String getDescription()
Description copied from interface: VDBInfo
Get this VDB's description.

Specified by:
getDescription in interface VDBInfo
Returns:
The description of this VDB.

getDateCreated

public java.util.Date getDateCreated()
Description copied from interface: VDBInfo
Get the date this VDB was deployed.

Specified by:
getDateCreated in interface VDBInfo
Returns:
The VDB's creation date.

getCreatedBy

public java.lang.String getCreatedBy()
Description copied from interface: VDBInfo
Get the name of the person who created this VDB.

Specified by:
getCreatedBy in interface VDBInfo
Returns:
The name of the VDB author.

getModels

public java.util.Collection getModels()
Description copied from interface: VDBInfo
Get the Collection of Models this VDB is comprised of.

Specified by:
getModels in interface VDBInfo
Returns:
This VDB's ModelInfo Collection.

getModel

public ModelInfo getModel(java.lang.String name)
Returns the ModelInfo for the name specified

Specified by:
getModel in interface VDBInfo
Returns:
ModelInfo

hasWSDLDefined

public boolean hasWSDLDefined()
Returns true if a WSDL is defined for this VDB

Specified by:
hasWSDLDefined in interface VDBInfo
Returns:
true if a WSDL is defined for this VDB

setDateCreated

public void setDateCreated(java.util.Date date)
Parameters:
date -

setCreatedBy

public void setCreatedBy(java.lang.String createdBy)
Parameters:
createdBy -

setDescription

public void setDescription(java.lang.String description)
Parameters:
description -

setModelInfos

public void setModelInfos(java.util.Collection models)
Parameters:
modelInfos -

addModelInfo

public void addModelInfo(ModelInfo model)

removeModelInfo

public ModelInfo removeModelInfo(java.lang.String modelName)

setUUID

public void setUUID(java.lang.String objectID)
Parameters:
objectID -

setHasWSDLDefined

public void setHasWSDLDefined(boolean defined)

getFileName

public java.lang.String getFileName()
Description copied from interface: VDBInfo
Get this name of the VDB jar file.

Specified by:
getFileName in interface VDBInfo
Returns:
the VDB's name; never null or zero-length

setFileName

public void setFileName(java.lang.String fileName)

setVersion

public void setVersion(java.lang.String version)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2009. All Rights Reserved.