In addition to the standard data types of repository item properties, described in Data Type Mappings: Java and SQL, the SQL repository lets you add your own types of properties. The new property types can implement both getX
and setX
functionality in one of two ways, depending on your requirements:
If the property is transient, extend:
atg.repository.RepositoryPropertyDescriptor
If the property is to be stored in the database and needs to appear inside a
<table>
tag, modify the SQL repository’s default property implementation and extend:atg.adapter.gsa.GSAPropertyDescriptor
In either case, you can add additional configuration information to the XML file unique to your type. Also, the PropertyDescriptor
get
and set
methods can set and get other property values in the same item.