The fields you defined in the previous section have two different data types: character and date. These represent different kinds of fields:
Currently, your model only indicates that those fields exist, and that they belong to the Project entity, but has no information about what type of data they store.
Inheritance is the mechanism that enables an object to adopt the properties of another more general (or abstract) object.
By inheriting from pattern library fields, you enable your application to:
To define the properties of Project’s fields:
This changes the Model Editor source object type to Field, and changes the verb list so that only verbs appropriate for fields are contained in it.
Note: The cursor changes to a closed parcel icon when you drag an object. It changes to an open parcel icon when it is over a location where you can drop the object:
|
Closed Parcel Icon |
Open Parcel Icon |
|
|
|
Note: You have to scroll down in the Object Browser to find the FIELDS/Identifier field. You can use the filter box at the top of the Object Browser to only show some of the library items. In this case, you could type *Identifier* to display only FIELDS/Identifier. Remember to set the filter back to * when you are done.
![]()

Values are another type of CA Plex object. You can see that Project ID now has the value *Blank, but you cannot tell much else about what it inherited from FIELDS/Identifier.
When you drag one or more objects to the body of the Model Editor, the display changes to show you only the triples that define those objects. This is called focusing the Model Editor. When you drag the Project ID field to the Model Editor, it focuses on this field, showing the triple Project ID is a FIELDS/Identifier. This still does not tell you much.
![]()
The Model Editor shows another level of detail.

Now you can see that Project ID has inherited a data type of character and length of 10, along with the value *Blank (which you saw in the Object Browser in Step 6).
Note: In Step 4, you dragged the library object FIELDS/Identifier from the Object Browser to the target object box in the Model Editor. You can actually enter the name of the object into the target object box (without the library name) to accomplish the same thing. In step 4, you would have entered Identifier.
A word of caution: if you entered a wrong object name, you could create a new object with the wrong name. If you do this, find the erroneous object in the Object Browser and delete it.
![]()
![]()

![]()
If your Model Editor displays a lot more triples than shown in the previous graphic, you have your model set to display library objects. If this is the case, click the Show/Hide Library Objects toolbar button.
Notice that the Model Editor displays the triple as:
Project Description is a FIELDS/LongDescription
This indicates that you correctly spelled the name of the pattern library field.
Note: If you create a new object for a model, and it happens to share the name of a library object, you must rename your object or delete it (if you did not intend to create it).
Project Start Date is a DATE/CheckedDateISO
Project End Date is a DATE/CheckedDateISO
![]()

Inheriting from DATE/CheckedDateISO gives the fields functionality to ensure that end users enter valid dates.
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |