| 1 | package UR::Object::Type::View::Default::Xml; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | require UR; | ||
| 6 | our $VERSION = "0.46"; # UR $VERSION; | ||
| 7 | |||
| 8 | UR::Object::Type->define( | ||
| 9 | class_name => __PACKAGE__, | ||
| 10 | is => 'UR::Object::View::Default::Xml', | ||
| 11 | has => [ | ||
| 12 | default_aspects => { | ||
| 13 | is => 'ARRAY', | ||
| 14 | is_constant => 1, | ||
| 15 | value => [ | ||
| 16 | 'namespace', | ||
| 17 | 'table_name', | ||
| 18 | 'data_source_id', | ||
| 19 | 'is_abstract', | ||
| 20 | 'is_final', | ||
| 21 | 'is_singleton', | ||
| 22 | 'is_transactional', | ||
| 23 | 'schema_name', | ||
| 24 | 'meta_class_name', | ||
| 25 | 'first_sub_classification_method_name', | ||
| 26 | 'sub_classification_method_name', | ||
| 27 | { | ||
| 28 | label => 'Properties', | ||
| 29 | name => 'properties', | ||
| 30 | subject_class_name => 'UR::Object::Property', | ||
| 31 | perspective => 'default', | ||
| 32 | toolkit => 'xml', | ||
| 33 | aspects => [ | ||
| 34 | 'is_id', 'property_name', | ||
| 35 | 'column_name', 'data_type', | ||
| 36 | 'is_optional' | ||
| 37 | ], | ||
| 38 | }, | ||
| 39 | { | ||
| 40 | label => 'References', | ||
| 41 | name => 'all_id_by_property_metas', | ||
| 42 | subject_class_name => 'UR::Object::Property', | ||
| 43 | perspective => 'default', | ||
| 44 | toolkit => 'xml', | ||
| 45 | aspects => [], | ||
| 46 | } | ||
| 47 | ], | ||
| 48 | }, | ||
| 49 | ], | ||
| 50 | ); | ||
| 51 | |||
| 52 | 1; | ||
| 53 | |||
| 54 | =pod | ||
| 55 | |||
| 56 | =head1 NAME | ||
| 57 | |||
| 58 | UR::Object::Type::View::Default::Xml - View class for class metaobjects | ||
| 59 | |||
| 60 | =head1 DESCRIPTION | ||
| 61 | |||
| 62 | This class is used by L<UR::Object::View::Default::Xsl> to build an html | ||
| 63 | representation. | ||
| 64 | |||
| 65 | =cut |