|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ogf.graap.wsag.server.engine.TemplateIdentifier
public class TemplateIdentifier
The template identifier is a unique identifier of a template in one agreement factory instance. It fact it is a concatenation of the template name and id.
Constructor Summary | |
---|---|
TemplateIdentifier(AgreementTemplateType template)
Creates a new identifier for the given template. |
|
TemplateIdentifier(String name,
String version)
Creates a new identifier for the given template name and version. |
Method Summary | |
---|---|
boolean |
equals(Object compare)
|
String |
getName()
|
String |
getVersion()
|
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TemplateIdentifier(AgreementTemplateType template)
template
- the agreement templatepublic TemplateIdentifier(String name, String version)
name
- the template nameversion
- the template version (id)Method Detail |
---|
public boolean equals(Object compare)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public String getName()
public String getVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |