DataSchema
Manages the dynamic build of OpenAPI Schema and is used in scripts that are in server/services/_schema
.
if (_dataSchema.isMethod('POST')) {
_dataSchema.getValues('properties')
.set(
'uid',
_val.map()
.set('type', 'uid')
)
_dataSchema.getValues('required')
.add('uid')
}
add
add(index: int, element: java.lang.Object) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
element | java.lang.Object |
Return
( Values )
add(o: java.lang.Object) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
o | java.lang.Object |
Return
( Values )
addAll
addAll(index: int, c: java.util.Collection) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
c | java.util.Collection |
Return
( boolean )
addAll(c: java.util.Collection) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
c | java.util.Collection |
Return
( boolean )
as
as(o: java.lang.Object) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
o | java.lang.Object |
Return
( Values )
as(o: java.lang.Object, oDefault: java.lang.Object) : Values
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
o | java.lang.Object | |
oDefault | java.lang.Object |
Return
( Values )
asBoolean
asBoolean(index: int) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( boolean )
asBoolean(index: int, defaultValue: boolean) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | boolean |
Return
( boolean )
asBoolean(key: string) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( boolean )
asBoolean(key: string, defaultValue: boolean) : boolean
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | boolean |
Return
( boolean )
asByte
asByte(index: int) : byte
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( byte )
asByte(index: int, defaultValue: byte) : byte
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | byte |
Return
( byte )
asByte(key: string, defaultValue: byte) : byte
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | byte |
Return
( byte )
asCalendar
asCalendar(key: string) : java.util.Calendar
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.util.Calendar )
asCalendar(key: string, defaultValue: java.util.Calendar) : java.util.Calendar
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.util.Calendar |
Return
( java.util.Calendar )
asDate
asDate(key: string) : java.util.Date
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.util.Date )
asDate(key: string, defaultValue: java.util.Date) : java.util.Date
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.util.Date |
Return
( java.util.Date )
asDouble
asDouble(index: int) : double
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( double )
asDouble(index: int, defaultValue: double) : double
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | double |
Return
( double )
asDouble(key: string) : double
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( double )
asDouble(key: string, defaultValue: double) : double
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | double |
Return
( double )
asFile
asFile(key: string) : File
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( File )
asFloat
asFloat(index: int) : float
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( float )
asFloat(index: int, defaultValue: float) : float
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | float |
Return
( float )
asFloat(key: string) : float
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( float )
asFloat(key: string, defaultValue: float) : float
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | float |
Return
( float )
asHTMLDecode
asHTMLDecode(key: string) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( string )
asHTMLEncode
asHTMLEncode(key: string) : string
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( string )
asInstant
asInstant(key: string) : java.time.Instant
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.time.Instant )
asInstant(key: string, defaultValue: java.time.Instant) : java.time.Instant
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.time.Instant |
Return
( java.time.Instant )
asInt
asInt(index: int) : int
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( int )
asInt(index: int, defaultValue: int) : int
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | int |
Return
( int )
asInt(key: string, defaultValue: short) : int
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | short |
Return
( int )
asList
asList(index: int) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( java.util.List )
asList(index: int, claz: java.lang.Class) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
claz | java.lang.Class |
Return
( java.util.List )
asList(index: int, defaultValue: java.lang.Object) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | java.lang.Object |
Return
( java.util.List )
asList(index: int, defaultValue: java.lang.Object, claz: java.lang.Class) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | java.lang.Object | |
claz | java.lang.Class |
Return
( java.util.List )
asList(key: string) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.util.List )
asList(key: string, claz: java.lang.Class) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
claz | java.lang.Class |
Return
( java.util.List )
asList(key: string, defaultValue: java.lang.Object) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.lang.Object |
Return
( java.util.List )
asList(key: string, defaultValue: java.lang.Object, claz: java.lang.Class) : java.util.List
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.lang.Object | |
claz | java.lang.Class |
Return
( java.util.List )
asLocalDate
asLocalDate(key: string) : java.time.LocalDate
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.time.LocalDate )
asLocalDate(key: string, defaultValue: java.time.LocalDate) : java.time.LocalDate
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.time.LocalDate |
Return
( java.time.LocalDate )
asLocalDateTime
asLocalDateTime(key: string) : java.time.LocalDateTime
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.time.LocalDateTime )
asLocalDateTime(key: string, defaultValue: java.time.LocalDateTime) : java.time.LocalDateTime
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.time.LocalDateTime |
Return
( java.time.LocalDateTime )
asLocalTime
asLocalTime(key: string) : java.time.LocalTime
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string |
Return
( java.time.LocalTime )
asLocalTime(key: string, defaultValue: java.time.LocalTime) : java.time.LocalTime
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
key | string | |
defaultValue | java.time.LocalTime |
Return
( java.time.LocalTime )
asLong
asLong(index: int) : long
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int |
Return
( long )
asLong(index: int, defaultValue: long) : long
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
index | int | |
defaultValue | long |
Return
( long )