Class Primitives
- java.lang.Object
-
- one.xingyi.rest2test.server.domain.Primitives
-
- All Implemented Interfaces:
one.xingyi.core.marshelling.HasJson<one.xingyi.core.marshelling.ContextForJson>,one.xingyi.core.marshelling.HasJsonWithLinks<one.xingyi.core.marshelling.ContextForJson,Primitives>,one.xingyi.core.sdk.IXingYiResource,IPrimitives
public class Primitives extends java.lang.Object implements one.xingyi.core.marshelling.HasJson<one.xingyi.core.marshelling.ContextForJson>, IPrimitives, one.xingyi.core.marshelling.HasJsonWithLinks<one.xingyi.core.marshelling.ContextForJson,Primitives>
-
-
Constructor Summary
Constructors Constructor Description Primitives(java.lang.String name, java.lang.Integer integerBoxed, java.lang.Integer integer, java.lang.Boolean booleanBoxed, java.lang.Boolean bool, java.lang.Double doubleBoxed, java.lang.Double doub, one.xingyi.core.client.ISimpleList<java.lang.String> stringList, one.xingyi.core.client.ISimpleList<java.lang.Integer> integerList, one.xingyi.core.client.ISimpleList<java.lang.Double> doubleList, one.xingyi.core.client.ISimpleList<java.lang.Boolean> booleanList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Booleanbool()java.lang.BooleanbooleanBoxed()one.xingyi.core.client.ISimpleList<java.lang.Boolean>booleanList()java.lang.Doubledoub()java.lang.DoubledoubleBoxed()one.xingyi.core.client.ISimpleList<java.lang.Double>doubleList()booleanequals(java.lang.Object o)inthashCode()java.lang.Integerinteger()java.lang.IntegerintegerBoxed()one.xingyi.core.client.ISimpleList<java.lang.Integer>integerList()java.lang.Stringname()one.xingyi.core.client.ISimpleList<java.lang.String>stringList()<J> JtoJson(one.xingyi.core.marshelling.JsonWriter<J> jsonWriter, one.xingyi.core.marshelling.ContextForJson context)<J> JtoJsonWithLinks(one.xingyi.core.marshelling.JsonWriter<J> jsonWriter, one.xingyi.core.marshelling.ContextForJson context, java.util.function.Function<Primitives,java.lang.String> stateFn)java.lang.StringtoString()Primitiveswithbool(java.lang.Boolean bool)PrimitiveswithbooleanBoxed(java.lang.Boolean booleanBoxed)PrimitiveswithbooleanList(one.xingyi.core.client.ISimpleList<java.lang.Boolean> booleanList)Primitiveswithdoub(java.lang.Double doub)PrimitiveswithdoubleBoxed(java.lang.Double doubleBoxed)PrimitiveswithdoubleList(one.xingyi.core.client.ISimpleList<java.lang.Double> doubleList)Primitiveswithinteger(java.lang.Integer integer)PrimitiveswithintegerBoxed(java.lang.Integer integerBoxed)PrimitiveswithintegerList(one.xingyi.core.client.ISimpleList<java.lang.Integer> integerList)Primitiveswithname(java.lang.String name)PrimitiveswithstringList(one.xingyi.core.client.ISimpleList<java.lang.String> stringList)
-
-
-
Constructor Detail
-
Primitives
public Primitives(java.lang.String name, java.lang.Integer integerBoxed, java.lang.Integer integer, java.lang.Boolean booleanBoxed, java.lang.Boolean bool, java.lang.Double doubleBoxed, java.lang.Double doub, one.xingyi.core.client.ISimpleList<java.lang.String> stringList, one.xingyi.core.client.ISimpleList<java.lang.Integer> integerList, one.xingyi.core.client.ISimpleList<java.lang.Double> doubleList, one.xingyi.core.client.ISimpleList<java.lang.Boolean> booleanList)
-
-
Method Detail
-
name
public java.lang.String name()
- Specified by:
namein interfaceIPrimitives
-
withname
public Primitives withname(java.lang.String name)
- Specified by:
withnamein interfaceIPrimitives
-
integerBoxed
public java.lang.Integer integerBoxed()
- Specified by:
integerBoxedin interfaceIPrimitives
-
withintegerBoxed
public Primitives withintegerBoxed(java.lang.Integer integerBoxed)
- Specified by:
withintegerBoxedin interfaceIPrimitives
-
integer
public java.lang.Integer integer()
- Specified by:
integerin interfaceIPrimitives
-
withinteger
public Primitives withinteger(java.lang.Integer integer)
- Specified by:
withintegerin interfaceIPrimitives
-
booleanBoxed
public java.lang.Boolean booleanBoxed()
- Specified by:
booleanBoxedin interfaceIPrimitives
-
withbooleanBoxed
public Primitives withbooleanBoxed(java.lang.Boolean booleanBoxed)
- Specified by:
withbooleanBoxedin interfaceIPrimitives
-
bool
public java.lang.Boolean bool()
- Specified by:
boolin interfaceIPrimitives
-
withbool
public Primitives withbool(java.lang.Boolean bool)
- Specified by:
withboolin interfaceIPrimitives
-
doubleBoxed
public java.lang.Double doubleBoxed()
- Specified by:
doubleBoxedin interfaceIPrimitives
-
withdoubleBoxed
public Primitives withdoubleBoxed(java.lang.Double doubleBoxed)
- Specified by:
withdoubleBoxedin interfaceIPrimitives
-
doub
public java.lang.Double doub()
- Specified by:
doubin interfaceIPrimitives
-
withdoub
public Primitives withdoub(java.lang.Double doub)
- Specified by:
withdoubin interfaceIPrimitives
-
stringList
public one.xingyi.core.client.ISimpleList<java.lang.String> stringList()
- Specified by:
stringListin interfaceIPrimitives
-
withstringList
public Primitives withstringList(one.xingyi.core.client.ISimpleList<java.lang.String> stringList)
- Specified by:
withstringListin interfaceIPrimitives
-
integerList
public one.xingyi.core.client.ISimpleList<java.lang.Integer> integerList()
- Specified by:
integerListin interfaceIPrimitives
-
withintegerList
public Primitives withintegerList(one.xingyi.core.client.ISimpleList<java.lang.Integer> integerList)
- Specified by:
withintegerListin interfaceIPrimitives
-
doubleList
public one.xingyi.core.client.ISimpleList<java.lang.Double> doubleList()
- Specified by:
doubleListin interfaceIPrimitives
-
withdoubleList
public Primitives withdoubleList(one.xingyi.core.client.ISimpleList<java.lang.Double> doubleList)
- Specified by:
withdoubleListin interfaceIPrimitives
-
booleanList
public one.xingyi.core.client.ISimpleList<java.lang.Boolean> booleanList()
- Specified by:
booleanListin interfaceIPrimitives
-
withbooleanList
public Primitives withbooleanList(one.xingyi.core.client.ISimpleList<java.lang.Boolean> booleanList)
- Specified by:
withbooleanListin interfaceIPrimitives
-
toJson
public <J> J toJson(one.xingyi.core.marshelling.JsonWriter<J> jsonWriter, one.xingyi.core.marshelling.ContextForJson context)- Specified by:
toJsonin interfaceone.xingyi.core.marshelling.HasJson<one.xingyi.core.marshelling.ContextForJson>
-
toJsonWithLinks
public <J> J toJsonWithLinks(one.xingyi.core.marshelling.JsonWriter<J> jsonWriter, one.xingyi.core.marshelling.ContextForJson context, java.util.function.Function<Primitives,java.lang.String> stateFn)- Specified by:
toJsonWithLinksin interfaceone.xingyi.core.marshelling.HasJsonWithLinks<one.xingyi.core.marshelling.ContextForJson,Primitives>
-
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
-
-