-
Language:
English
-
Language:
English
10.9. Declaring a New Fact Type Additional Example
This fact type declaration uses a
Person
example. dateOfBirth
is of the type java.util.Date
(from the Java API) and address
is of the fact type Address.
declare Person name : String dateOfBirth : java.util.Date address : Address end