sunday-generator
1.1.0-beta.2
generator
/
io.outfoxx.sunday.generator.common
/
ShapeIndex
Shape
Index
class
ShapeIndex
(
inheritedMap
:
Map
<
String
,
Set
<
String
>
>
,
inheritingMap
:
Map
<
String
,
Set
<
String
>
>
,
orderOfProperties
:
Map
<
String
,
List
<
String
>
>
,
referenceMap
:
Map
<
String
,
String
>
)
Types
Constructors
Functions
Constructors
Shape
Index
Link copied to clipboard
fun
ShapeIndex
(
inheritedMap
:
Map
<
String
,
Set
<
String
>
>
,
inheritingMap
:
Map
<
String
,
Set
<
String
>
>
,
orderOfProperties
:
Map
<
String
,
List
<
String
>
>
,
referenceMap
:
Map
<
String
,
String
>
)
Types
Builder
Link copied to clipboard
class
Builder
:
ShapeVisitor
Companion
Link copied to clipboard
object
Companion
Functions
find
Inherited
Ids
Link copied to clipboard
fun
findInheritedIds
(
shape
:
Shape
)
:
Set
<
String
>
find
Inheriting
Ids
Link copied to clipboard
fun
findInheritingIds
(
shape
:
Shape
)
:
Set
<
String
>
find
Order
Or
Properties
Link copied to clipboard
fun
findOrderOrProperties
(
shape
:
NodeShape
)
:
List
<
String
>
find
Reference
Target
Id
Link copied to clipboard
fun
findReferenceTargetId
(
shape
:
Shape
)
:
String
?
find
Super
Shape
Id
Or
Null
Link copied to clipboard
fun
findSuperShapeIdOrNull
(
shape
:
Shape
)
:
String
?
has
Inherited
Link copied to clipboard
fun
hasInherited
(
shape
:
Shape
)
:
Boolean
has
Inheriting
Link copied to clipboard
fun
hasInheriting
(
shape
:
Shape
)
:
Boolean
has
No
Inherited
Link copied to clipboard
fun
hasNoInherited
(
shape
:
Shape
)
:
Boolean
has
No
Inheriting
Link copied to clipboard
fun
hasNoInheriting
(
shape
:
Shape
)
:
Boolean
resolve
If
Reference
Link copied to clipboard
fun
resolveIfReference
(
shape
:
Shape
)
:
String