org.eclipse.net4j.util.factory
Class FactoryKey
java.lang.Object
org.eclipse.net4j.util.factory.FactoryKey
- All Implemented Interfaces:
- Serializable, Comparable<FactoryKey>, IFactoryKey
- public final class FactoryKey
- extends Object
- implements IFactoryKey, Serializable, Comparable<FactoryKey>
A default implementation of a factory key
.
- See Also:
- Serialized Form
FactoryKey
public FactoryKey(String productGroup,
String type)
getProductGroup
public String getProductGroup()
- Specified by:
getProductGroup
in interface IFactoryKey
setProductGroup
public void setProductGroup(String productGroup)
getType
public String getType()
- Specified by:
getType
in interface IFactoryKey
setType
public void setType(String type)
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
compareTo
public int compareTo(FactoryKey key)
- Specified by:
compareTo
in interface Comparable<FactoryKey>
Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.