Class TypeKeyReferenceImpl
java.lang.Object
com.commercetools.importapi.models.common.TypeKeyReferenceImpl
- All Implemented Interfaces:
KeyReference
,TypeKeyReference
,io.vrap.rmf.base.client.ModelBase
public class TypeKeyReferenceImpl
extends Object
implements TypeKeyReference, io.vrap.rmf.base.client.ModelBase
References a type by key.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.importapi.models.common.TypeKeyReference
TYPE
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.importapi.models.common.KeyReference
withKeyReference
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.importapi.models.common.TypeKeyReference
withTypeKeyReference
-
Constructor Details
-
TypeKeyReferenceImpl
public TypeKeyReferenceImpl()create empty instance
-
-
Method Details
-
getKey
- Specified by:
getKey
in interfaceKeyReference
- Returns:
- key
-
getTypeId
The type of the referenced resource.
- Specified by:
getTypeId
in interfaceKeyReference
- Returns:
- typeId
-
setKey
Description copied from interface:KeyReference
set key- Specified by:
setKey
in interfaceKeyReference
- Parameters:
key
- value to be set
-
equals
-
hashCode
public int hashCode()
-