CSC2507
Telos -- 1
Conceptual Modeling
CSC2507
History
I
I
I
Telos -- 2
Conceptual Modeling
CSC2507
Action
Action
input
Object
Object
1..N output
1..N
stops
causes
knows
links
Event
Event
Relationship
Relationship
Entity
Entity
Agent
Agent
performs
1..N
capableOf
Telos -- 3
Conceptual Modeling
CSC2507
Propositions
I
I
I
Attribute
label
from
when
to
Telos -- 4
Conceptual Modeling
CSC2507
Classification
Every proposition is an instance of one or more classes.
Every proposition has a type, which can be 0,1,,.
A proposition of type n can be an instance of classes at
level n+1 or .
personClass
Metaclasses (type 2)
student
person
Classes (type 1)
1)
maria
george
Tokens (type 0)
Telos -- 5
Conceptual Modeling
CSC2507
Classes
Omega classes
class
personClass
Metaclasses
student
person
Classes
maria
george
Tokens
Telos -- 6
Conceptual Modeling
CSC2507
socialRel
personClass
Metaclasses (M1)
attribute
student
person
marriedTo
Classes (M0)
maria
george
Tokens
Telos -- 7
Conceptual Modeling
CSC2507
proposition
class
attribute
Telos -- 8
Conceptual Modeling
CSC2507
Attributes
Card
Number (M0)
PersonClass (M1)
407
Student#
St#
Student (M0)
3488
Employee
91234072
myrto
Telos -- 9
Conceptual Modeling
CSC2507
Operations
I
I
I
Telos -- 10
Conceptual Modeling
CSC2507
Telos -- 11
Conceptual Modeling
CSC2507
Attribute
Class
Paper
Person
author
title
first
martian
2004 John Mylopoulos
String
Stanley
LaSalle
Wong
The Martian System
System
Telos
-- 12
Conceptual Modeling
CSC2507
TELL
TELLCLASS
CLASSInvitedPaper
InvitedPaper
IN
SimpleClass
IN SimpleClass
ISA
ISAPaper
Paper
WITH
WITH
attribute
attribute
sess:
sess:ConfSession;
ConfSession;
nationality:
nationality:Country
Country
END
InvitedPaper
END InvitedPaper
Telos -- 13
Conceptual Modeling
CSC2507
Person
author
Stanley
first
Paper
martian
Telos -- 14
Conceptual Modeling
CSC2507
Metaclasses
I
I
Telos -- 15
Conceptual Modeling
CSC2507
Telos -- 16
Conceptual Modeling
CSC2507
Categorizing Attributes
TELL
TELLPaper
PaperIN
INDocumentClass
DocumentClassWITH
WITH
source
source
author:
author:Person;
Person; replyAddress:
replyAddress:
Address
Address
audience
TELL CLASS Paper
audience
conf:
Conference
IN SimpleClass
conf: Conference
contents
WITH
contents
title:
...
title:String;
String; pages:
pages:1..100
1..100
attribute
single, contents
attribute
referee:
title: String
referee:Person
Person
responseTime
*:
4wks
...
responseTime *: 4wks
END
Paper
END
Paper
END Paper
2004 John Mylopoulos
Telos -- 17
Conceptual Modeling
CSC2507
Single-Valued Attributes
single
Class
Paper
Single
String
title
Paper043
2004 John Mylopoulos
TELL
TELLCLASS
CLASSSingle
Single
COMPONENTS
COMPONENTS[Class,
[Class,single,
single,Class]
Class]
IN
INAttributeClass,
AttributeClass,MetaClass
MetaClass WITH
WITH
integrityConstraint
integrityConstraint
: :$$(
(u/Single,
u/Single,p,
p,q/Proposition)
q/Proposition)
[p
in
u
q
in
u
[p in u q in u from(p)=from(q)
from(p)=from(q)
pp==q]$
q]$
These have
to be equal
p
Telos -- 18
Conceptual Modeling
CSC2507
q/Attribute
from(p) q/Attribute[q
[qininppto(q)
to(q)inin
to(p)]]
to(p)]]$$
outputCreated:...
outputCreated:...
...partDuringWhole:...
...partDuringWhole:...
END
ENDActivityClass
ActivityClass
2004 John Mylopoulos
Conceptual Modeling
Telos -- 19
CSC2507
TELL
TELLCLASS
CLASSConferenceOrganization
ConferenceOrganization
IN
ActivityClass
IN ActivityClassWITH
WITH
input,
input,single
singlebudg:
budg:Budget
Budget
output,
single
output, singleconf:
conf:Conference;
Conference;finalReport:
finalReport:Report
Report
control,
single
nm:
Name;
...
control, single nm: Name; ...
control
controlsponsors:
sponsors:Organization
Organization
part,
single
part, single
setSchedule:
setSchedule:SetTimeSchedule;
SetTimeSchedule;
setPC:
setPC:AppointProgrammeCommittee;
AppointProgrammeCommittee;
...
...
hldConf:
hldConf:HoldConference
HoldConference
part
part
genExpenseReport:
genExpenseReport:GenExpenseReport
GenExpenseReport
preCondition
preCondition**: :$$BudgetAccepted(this)
BudgetAccepted(this)$$
activCondition
activCondition**: :$$now
nowduring
duringthis.budg.startDate
this.budg.startDate$$
postCondition
*
:
$
budg.amountLeft
postCondition * : $ budg.amountLeft==00$$
terminationCondition
terminationCondition**: :$$now
nowafter
afterthis.budg.endDate
this.budg.endDate$$
integrityConstraint
*
:
/*
setSchedule
integrityConstraint * : /* setScheduleoccurs
occursbefore
before
setPC,
...
*/
setPC, ... */
An
Activity
Class
Telos -- 20
Conceptual Modeling
CSC2507
Person
emp
emp
less
empearns
earnsless
less Employee
than
her
her
manager
than hermanager
manager
addr
history
time
belief
time
Address
Manager
UofT
emp
Maria
Telos -- 21
Conceptual Modeling
CSC2507
RML
MappingAsst
MappingAss
DesignSpec
DesignSpe
System
Designe
Implementation
Implementatio
DesignAsst
DesignAss
MappingAsst
MappingAss
TaxisD
Database
DBPL
Programme
ReqAsst
ReqAssi
ImplemAsst
ImplementAss
RequirementsSpec
RequirementsSp
Telos -- 22
Conceptual Modeling
CSC2507
Postscript
I
Telos -- 23
Conceptual Modeling
CSC2507
References
I
I
I
Telos -- 24