com.ptc.windchill.uwgm.common.pdm
Class PartDocumentRetrieverTest.Spec

java.lang.Object
  extended bycom.ptc.windchill.uwgm.common.pdm.PartDocumentRetrieverTest.Spec
All Implemented Interfaces:
RetrieverSpec
Enclosing class:
PartDocumentRetrieverTest

private class PartDocumentRetrieverTest.Spec
extends Object
implements RetrieverSpec

internal implementation for non-versioned specs. Copied from RetrieverSpecHelper.java.


Nested Class Summary
 
Nested classes inherited from class com.ptc.windchill.uwgm.common.pdm.RetrieverSpec
RetrieverSpec.Type
 
Field Summary
protected  int hashCode
           
protected  RetrieverSpec.Type specType
           
protected  Object value
           
 
Constructor Summary
PartDocumentRetrieverTest.Spec(RetrieverSpec.Type specType, Object value)
           
 
Method Summary
 boolean equals(Object o)
           
 Object getKey()
          returns Spec key
 RetrieverSpec.Type getType()
          returns SpecType
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

value

protected final Object value

specType

protected final RetrieverSpec.Type specType

hashCode

protected int hashCode
Constructor Detail

PartDocumentRetrieverTest.Spec

public PartDocumentRetrieverTest.Spec(RetrieverSpec.Type specType,
                                      Object value)
Method Detail

getKey

public Object getKey()
Description copied from interface: RetrieverSpec
returns Spec key

Specified by:
getKey in interface RetrieverSpec

getType

public RetrieverSpec.Type getType()
Description copied from interface: RetrieverSpec
returns SpecType

Specified by:
getType in interface RetrieverSpec

equals

public boolean equals(Object o)

hashCode

public int hashCode()

toString

public String toString()