org.xwiki.extension
Class ExtensionId
java.lang.Object
org.xwiki.extension.ExtensionId
- All Implemented Interfaces:
- Serializable
public class ExtensionId
- extends Object
- implements Serializable
The combination of properties which makes an extension unique.
- Since:
- 4.0M1
- Version:
- $Id$
- See Also:
- Serialized Form
ExtensionId
public ExtensionId(String id,
String version)
- Parameters:
id - the extension identifierversion - the extension version
ExtensionId
public ExtensionId(String id,
Version version)
- Parameters:
id - the extension identifierversion - the extension version
getId
public String getId()
- Returns:
- the extension identifier
getVersion
public Version getVersion()
- Returns:
- the extension version
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2004-2012 XWiki. All Rights Reserved.