Creating a class, Creating a class -18 – Grass Valley Xstudio Vertigo Suite v.4.10 User Manual
Page 241

9-18
Xstudio User Manual
Linking objects to a data source
Creating a class
A class is another way of bringing data into the Data Server that can be retrieved by Xstudio.
If none of the standard data entity types suit your needs, or if you would like actions
performed on the data so that it appears on air differently than it does in the database, then
you will require a class. For example, let’s say you have a live data source bringing in
numbers of votes for the top five music videos of the day. Any of the standard data entity
types would show the numbers. However, with a class you could translate them into
percentages. Classes are created from XML code.
Classes are an advanced feature requiring knowledge of class definition XML. Contact our
Technical Support team if you would like a class created for you, or if you would like to obtain
the Developer’s Kit to see examples of classes on which you can base your own.
To create a class:
1.
From the list of schema names listed at left in the D
ATA
M
ANAGER
window, click on the
one that the class will be created from and then click the C
REATE
C
LASS
icon .
Or,
Right-click on the schema that the class will be created from. When the pop-up menu
displays, select A
DD
> C
LASS
.
This displays the D
ATA
S
OURCE
S
ETTINGS
dialog box.
Figure 9-13. Class Setting dialog box
2.
In the C
LASS
N
AME
field enter a name for your class.
N
OTE
Make sure that what you enter in the C
LASS
N
AME
field matches what you enter in the
CLASS
DEFINITION
.
3.
Enter the C
LASS
D
EFINITION
XML in the box provided.
4.
Click OK.