Class PrimitiveCollectionElement
- java.lang.Object
-
- de.hybris.platform.integrationservices.populator.PrimitiveCollectionElement
-
public class PrimitiveCollectionElement extends java.lang.ObjectA wrapper around a primitive value that is stored in a collection. For example, this would generate JSON that looks like this{ "value": 1234 }
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PrimitiveCollectionElementcreate(java.lang.Object value)Create a newPrimitiveCollectionElementwith the given valuebooleanequals(java.lang.Object o)java.lang.ObjectgetValue()Gets the value that is wrappedinthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
create
public static PrimitiveCollectionElement create(java.lang.Object value)
Create a newPrimitiveCollectionElementwith the given value- Parameters:
value- Value to be wrapped- Returns:
- a new instance
-
getValue
public java.lang.Object getValue()
Gets the value that is wrapped- Returns:
- Value
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-