Class TypeByteArray
java.lang.Object
dk.mada.jaxrs.model.types.TypeByteArray
- All Implemented Interfaces:
Type
-
Method Summary
Modifier and TypeMethodDescriptionstatic TypeByteArraygetArray()Returns the byte-array instance.static TypeByteArrayReturns the stream instance.booleanisArray()Returns true if this is the byte-array instance, otherwise false.booleanisStream()Returns true if this is the stream instance, otherwise false.Returns the set of imports needed to use this type in a DTO.toString()typeName()Returns the type name.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Type
isBigDecimal, isContainer, isDate, isDateTime, isDto, isEnum, isPlainObject, isPrimitive, isPrimitive, isTime, isUUID, isValidation, isVoid, wrapperTypeName
-
Method Details
-
getArray
Returns the byte-array instance.- Returns:
- the byte-array instance
-
getStream
-
isStream
public boolean isStream()Returns true if this is the stream instance, otherwise false.- Returns:
- true if this is the stream instance, otherwise false
-
isArray
public boolean isArray()Returns true if this is the byte-array instance, otherwise false.- Returns:
- true if this is the byte-array instance, otherwise false
-
typeName
-
toString
-
neededImports
Description copied from interface:TypeReturns the set of imports needed to use this type in a DTO.- Specified by:
neededImportsin interfaceType- Returns:
- the set of imports needed to use this type in a DTO
-