JPF 1.5.1

org.java.plugin.tools.mocks
Class MockManifestInfo

java.lang.Object
  extended by org.java.plugin.tools.mocks.MockManifestInfo
All Implemented Interfaces:
ManifestInfo

public class MockManifestInfo
extends java.lang.Object
implements ManifestInfo

Version:
$Id: MockManifestInfo.java,v 1.1 2007/02/06 16:25:16 ddimon Exp $

Constructor Summary
MockManifestInfo()
           
 
Method Summary
 java.lang.String getId()
           
 MatchingRule getMatchingRule()
           
 java.lang.String getPluginId()
           
 Version getPluginVersion()
           
 java.lang.String getVendor()
           
 Version getVersion()
           
 MockManifestInfo setId(java.lang.String value)
           
 MockManifestInfo setMatchingRule(MatchingRule value)
           
 MockManifestInfo setPluginId(java.lang.String value)
           
 MockManifestInfo setPluginVersion(Version value)
           
 MockManifestInfo setVendor(java.lang.String value)
           
 MockManifestInfo setVersion(Version value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockManifestInfo

public MockManifestInfo()
Method Detail

getId

public java.lang.String getId()
Specified by:
getId in interface ManifestInfo
Returns:
plug-in or plug-in fragment identifier
See Also:
ManifestInfo.getId()

setId

public MockManifestInfo setId(java.lang.String value)
Parameters:
value - the id to set
Returns:
this instance

getMatchingRule

public MatchingRule getMatchingRule()
Specified by:
getMatchingRule in interface ManifestInfo
Returns:
plug-in version matching rule or null if this info is for plug-in manifest
See Also:
ManifestInfo.getMatchingRule()

setMatchingRule

public MockManifestInfo setMatchingRule(MatchingRule value)
Parameters:
value - the matching rule to set
Returns:
this instance

getPluginId

public java.lang.String getPluginId()
Specified by:
getPluginId in interface ManifestInfo
Returns:
plug-in identifier this, fragment contributes to or null if this info is for plug-in manifest
See Also:
ManifestInfo.getPluginId()

setPluginId

public MockManifestInfo setPluginId(java.lang.String value)
Parameters:
value - the plug-in id to set
Returns:
this instance

getPluginVersion

public Version getPluginVersion()
Specified by:
getPluginVersion in interface ManifestInfo
Returns:
plug-in version identifier, this fragment contributes to or null if this info is for plug-in manifest
See Also:
ManifestInfo.getPluginVersion()

setPluginVersion

public MockManifestInfo setPluginVersion(Version value)
Parameters:
value - the plug-in version to set
Returns:
this instance

getVendor

public java.lang.String getVendor()
Specified by:
getVendor in interface ManifestInfo
Returns:
plug-in or plug-in fragment vendor
See Also:
ManifestInfo.getVendor()

setVendor

public MockManifestInfo setVendor(java.lang.String value)
Parameters:
value - the vendor to set
Returns:
this instance

getVersion

public Version getVersion()
Specified by:
getVersion in interface ManifestInfo
Returns:
plug-in or plug-in fragment version identifier
See Also:
ManifestInfo.getVersion()

setVersion

public MockManifestInfo setVersion(Version value)
Parameters:
value - the version to set
Returns:
this instance

JPF 1.5.1

Copyright © 2004-2007 Dmitry Olshansky. All Rights Reserved.