Class CompositeKey2<K1,K2>
- java.lang.Object
-
- org.eclipse.rdf4j.spring.dao.support.key.CompositeKey2<K1,K2>
-
- All Implemented Interfaces:
CompositeKey
public class CompositeKey2<K1,K2> extends Object implements CompositeKey
- Since:
- 4.0.0
- Author:
- Florian Kleedorfer
-
-
Constructor Summary
Constructors Constructor Description CompositeKey2(K1 key1, K2 key2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description K1getKey1()K2getKey2()booleanisPresent()Returns true if the composite key is fully defined.CompositeKey2<K1,K2>setKey1(K1 key1)CompositeKey2<K1,K2>setKey2(K2 key2)
-
-
-
Method Detail
-
isPresent
public boolean isPresent()
Description copied from interface:CompositeKeyReturns true if the composite key is fully defined.- Specified by:
isPresentin interfaceCompositeKey
-
getKey1
public K1 getKey1()
-
getKey2
public K2 getKey2()
-
setKey1
public CompositeKey2<K1,K2> setKey1(K1 key1)
-
setKey2
public CompositeKey2<K1,K2> setKey2(K2 key2)
-
-