file: ./oo/csharp/App/getData.cs --------------------------------------------------------------------------- using System ; namespace App.getData { public interface GetOrderData // ----------------------------------------------------------------------------- { public XMLObject StandardOrder( GUID identifier x ) ; public XMLObject FullOrder( GUID identifier x ) ; } public interface GetPEData // ----------------------------------------------------------------------------- { public Rights[] RightSequence( GUID identifier x ) ; public XMLObject PEStandard( GUID identifier x ) ; public XMLObject PEFull( GUID identifier x ) ; } } file: ./oo/csharp/App.cs --------------------------------------------------------------------------- using System ; namespace App { public class Constant // ----------------------------------------------------------------------------- { private Blob _asIcon ; private String _asEnglish ; private String _asGerman ; private Integer _asInteger ; public Blob asIcon() { return this._asIcon ; } public String asEnglish() { return this._asEnglish ; } public String asGerman() { return this._asGerman ; } public Integer asInteger() { return this._asInteger ; } public Constant ( integer asInteger , String asGerman , String asEnglish , Blob asIcon ) { this._asInteger = asInteger ; this._asGerman = asGerman ; this._asEnglish = asEnglish ; this._asIcon = asIcon ; } } public class XMLFile: Clob // ----------------------------------------------------------------------------- { private String _path ; private XMLObject _toStr ; public String path() { return this._path ; // This is default - you may replace this implementation here, // or you may override this code in some or all derived classes. } public XMLObject toStr() { return this._toStr ; // This is default - you may replace this implementation here, // or you may override this code in some or all derived classes. } public XMLFile ( XMLObject toStr , FileSystemPath path ) { this._toStr = toStr ; this._path = path ; } } public class XMLObject: String // ----------------------------------------------------------------------------- { } } file: ./oo/csharp/BMF/order.cs --------------------------------------------------------------------------- using System ; namespace BMF.order { public class Order: App.getData.GetOrderData // ----------------------------------------------------------------------------- { private String _remark ; private PositiveInteger _costCenter ; private String _productionNr ; private String _orderTitle ; private String _orderID ; public remark { get { return this._remark ; // This is default - you may replace this implementation. } set { this._remark = value ; // This is default - you may replace this implementation. } } public costCenter { get { return this._costCenter ; // This is default - you may replace this implementation. } set { this._costCenter = value ; // This is default - you may replace this implementation. } } public productionNr { get { return this._productionNr ; // This is default - you may replace this implementation. } set { this._productionNr = value ; // This is default - you may replace this implementation. } } public orderTitle { get { return this._orderTitle ; // This is default - you may replace this implementation. } set { this._orderTitle = value ; // This is default - you may replace this implementation. } } public orderID { get { return this._orderID ; // This is default - you may replace this implementation. } set { this._orderID = value ; // This is default - you may replace this implementation. } } // This class's code for interface GetOrderData: private XMLObject _StandardOrder ; private XMLObject _FullOrder ; public XMLObject StandardOrder( GUID identifier x ) { return this._StandardOrder ; // This is default - you may replace this implementation here, // or you may override this code in some or all derived classes. } public XMLObject FullOrder( GUID identifier x ) { return this._FullOrder ; // This is default - you may replace this implementation here, // or you may override this code in some or all derived classes. } public C_Order() { // TODO: add your implementation here ... } } public class OrderStatusValue // ----------------------------------------------------------------------------- { private byte _wird_erstellt = 6 ; private byte _abgelehnt = 5 ; private byte _genehmigt = 4 ; private byte _beendet = 3 ; private byte _unbearbeitet = 2 ; private byte _abgesandt = 1 ; public byte wird_erstellt() { return this._wird_erstellt ; } public byte abgelehnt() { return this._abgelehnt ; } public byte genehmigt() { return this._genehmigt ; } public byte beendet() { return this._beendet ; } public byte unbearbeitet() { return this._unbearbeitet ; } public byte abgesandt() { return this._abgesandt ; } } } file: ./oo/csharp/BMF/Programme.cs --------------------------------------------------------------------------- using System ; namespace BMF.Programme { public abstract class AbstractItem: AbstractScene // ----------------------------------------------------------------------------- { private String[] _documentaryTitle ; // [] = [1..] private String[] _pseudoTitle ; private String[] _translationTitle ; private String[] _originalTitle ; private String[] _otherTitle ; public documentaryTitle { get { return this._documentaryTitle ; // This is default - you may replace this implementation. } set { if ( value.length() < 1 ) { throw new ArrayTooShortException(); } this._documentaryTitle = value ; // This is default - you may replace this implementation. } } public pseudoTitle { get { return this._pseudoTitle ; // This is default - you may replace this implementation. } set { this._pseudoTitle = value ; // This is default - you may replace this implementation. } } public translationTitle { get { return this._translationTitle ; // This is default - you may replace this implementation. } set { this._translationTitle = value ; // This is default - you may replace this implementation. } } public originalTitle { get { return this._originalTitle ; // This is default - you may replace this implementation. } set { this._originalTitle = value ; // This is default - you may replace this implementation. } } public otherTitle { get { return this._otherTitle ; // This is default - you may replace this implementation. } set { this._otherTitle = value ; // This is default - you may replace this implementation. } } } public abstract class AbstractProductionElement: AbstractBMFSet, App.getData.GetPEData // ----------------------------------------------------------------------------- { private Rights[] _rights ; private String _archiveIdentifier ; public rights { get { return this._rights ; // This is default - you may replace this implementation. } set { this._rights = value ; // This is default - you may replace this implementation. } } public archiveIdentifier { get { return this._archiveIdentifier ; // This is default - you may replace this implementation. } set { this._archiveIdentifier = value ; // This is default - you may replace this implementation. } } // This class's code for interface GetPEData: private Rights[] _RightSequence ; private XMLObject _PEStandard ; private XMLObject _PEFull ; public Rights[] RightSequence( GUID identifier x ) { return this._RightSequence ; // This is default - you may replace this implementation here, // or you may override this code in some or all derived classes. } public XMLObject PEStandard( GUID identifier x ) { return this._PEStandard ; // This is default - you may replace this implementation here, // or you may override this code in some or all derived classes. } public XMLObject PEFull( GUID identifier x ) { return this._PEFull ; // This is default - you may replace this implementation here, // or you may override this code in some or all derived classes. } public C_AbstractProductionElement() { // TODO: add your implementation here ... } } public abstract class AbstractProgramme: AbstractScene // ----------------------------------------------------------------------------- { } public abstract class AbstractScene: AbstractShot // ----------------------------------------------------------------------------- { private Acceptance _editorialAcceptance ; private Acceptance _technicalAcceptance ; public editorialAcceptance { get { return this._editorialAcceptance ; // This is default - you may replace this implementation. } set { this._editorialAcceptance = value ; // This is default - you may replace this implementation. } } public technicalAcceptance { get { return this._technicalAcceptance ; // This is default - you may replace this implementation. } set { this._technicalAcceptance = value ; // This is default - you may replace this implementation. } } } public abstract class AbstractShot: AbstractProductionElement // ----------------------------------------------------------------------------- { private Track[] _tracks ; // [] = [1..] private SubjectDescription _mainSubjectDescription ; private String _archiveNumber ; private String[] _workingTitle ; private String[] _secondaryTitle ; private String[] _mainTitle ; // [] = [1..] public tracks { get { return this._tracks ; // This is default - you may replace this implementation. } set { if ( value.length() < 1 ) { throw new ArrayTooShortException(); } this._tracks = value ; // This is default - you may replace this implementation. } } public mainSubjectDescription { get { return this._mainSubjectDescription ; // This is default - you may replace this implementation. } set { this._mainSubjectDescription = value ; // This is default - you may replace this implementation. } } public archiveNumber { get { return this._archiveNumber ; // This is default - you may replace this implementation. } set { this._archiveNumber = value ; // This is default - you may replace this implementation. } } public workingTitle { get { return this._workingTitle ; // This is default - you may replace this implementation. } set { this._workingTitle = value ; // This is default - you may replace this implementation. } } public secondaryTitle { get { return this._secondaryTitle ; // This is default - you may replace this implementation. } set { this._secondaryTitle = value ; // This is default - you may replace this implementation. } } public mainTitle { get { return this._mainTitle ; // This is default - you may replace this implementation. } set { if ( value.length() < 1 ) { throw new ArrayTooShortException(); } this._mainTitle = value ; // This is default - you may replace this implementation. } } } public class Contact: Participant // ----------------------------------------------------------------------------- { } public class Contributor: Participant // ----------------------------------------------------------------------------- { private ContributorFunction _function ; public function { get { return this._function ; // This is default - you may replace this implementation. } set { this._function = value ; // This is default - you may replace this implementation. } } } public class ContributorFunction // ----------------------------------------------------------------------------- { private App.Constant _candidate ; private App.Constant _showMaster ; public App.Constant candidate() { return this._candidate ; // This is default - you may replace this implementation here, // or you may override this code in some or all derived classes. } public App.Constant showMaster() { return this._showMaster ; // This is default - you may replace this implementation here, // or you may override this code in some or all derived classes. } } public class Item: AbstractItem // ----------------------------------------------------------------------------- { // This class's code for interface GetPEData: public C_Item() { // TODO: add your implementation here ... } // This class's code for interface GUID: public Item ( Instance_UID instance_UID , Generation_UID generation_UID ) { this._instance_UID = instance_UID ; this._generation_UID = generation_UID ; } } public class Location // ----------------------------------------------------------------------------- { private Address _address ; private LocationType _ofType ; public address { get { return this._address ; // This is default - you may replace this implementation. } set { this._address = value ; // This is default - you may replace this implementation. } } public ofType { get { return this._ofType ; // This is default - you may replace this implementation. } set { this._ofType = value ; // This is default - you may replace this implementation. } } } public class Participant // ----------------------------------------------------------------------------- { private Address _address ; public address { get { return this._address ; // This is default - you may replace this implementation. } set { this._address = value ; // This is default - you may replace this implementation. } } } public class Person: Participant // ----------------------------------------------------------------------------- { } public class ProductionStaff: Participant // ----------------------------------------------------------------------------- { private ProductionStaffFunction _function ; public function { get { return this._function ; // This is default - you may replace this implementation. } set { this._function = value ; // This is default - you may replace this implementation. } } } public class Programme: AbstractProgramme // ----------------------------------------------------------------------------- { private ProgrammeType[] _programmeTypes ; // [] = [1..] private ProgrammeStatus[] _programmeState ; // [] = [1..] public programmeTypes { get { return this._programmeTypes ; // This is default - you may replace this implementation. } set { if ( value.length() < 1 ) { throw new ArrayTooShortException(); } this._programmeTypes = value ; // This is default - you may replace this implementation. } } public programmeState { get { return this._programmeState ; // This is default - you may replace this implementation. } set { if ( value.length() < 1 ) { throw new ArrayTooShortException(); } this._programmeState = value ; // This is default - you may replace this implementation. } } // This class's code for interface GetPEData: public C_Programme() { // TODO: add your implementation here ... } // This class's code for interface GUID: public Programme ( Instance_UID instance_UID , Generation_UID generation_UID ) { this._instance_UID = instance_UID ; this._generation_UID = generation_UID ; } } public class Rights // ----------------------------------------------------------------------------- { private IntellectualPropertyRight _propertyRight ; private String _contractNumber ; public propertyRight { get { return this._propertyRight ; // This is default - you may replace this implementation. } set { this._propertyRight = value ; // This is default - you may replace this implementation. } } public contractNumber { get { return this._contractNumber ; // This is default - you may replace this implementation. } set { this._contractNumber = value ; // This is default - you may replace this implementation. } } } public class Scene: AbstractScene // ----------------------------------------------------------------------------- { // This class's code for interface GetPEData: public C_Scene() { // TODO: add your implementation here ... } // This class's code for interface GUID: public Scene ( Instance_UID instance_UID , Generation_UID generation_UID ) { this._instance_UID = instance_UID ; this._generation_UID = generation_UID ; } } public class Serial: AbstractBMFSet // ----------------------------------------------------------------------------- { private Programme[] _programmes ; public Programme[] programmes() { return this._programmes ; // This is default - you may replace this implementation here, // or you may override this code in some or all derived classes. } // This class's code for interface GUID: public Serial ( Instance_UID instance_UID , Generation_UID generation_UID ) { this._instance_UID = instance_UID ; this._generation_UID = generation_UID ; } } public class Shot: AbstractShot // ----------------------------------------------------------------------------- { private ShotType[] _shotType ; // [] = [1..] public shotType { get { return this._shotType ; // This is default - you may replace this implementation. } set { if ( value.length() < 1 ) { throw new ArrayTooShortException(); } this._shotType = value ; // This is default - you may replace this implementation. } } // This class's code for interface GetPEData: public C_Shot() { // TODO: add your implementation here ... } // This class's code for interface GUID: public Shot ( Instance_UID instance_UID , Generation_UID generation_UID ) { this._instance_UID = instance_UID ; this._generation_UID = generation_UID ; } } } file: ./oo/csharp/BMF.cs --------------------------------------------------------------------------- using System ; namespace BMF { public abstract class AbstractBMFSet: BMF.GUID // ----------------------------------------------------------------------------- { // This class's code for interface GUID: private Generation_UID _generation ; private Instance_UID _instance ; public Generation_UID generation() { return this._generation ; // This is default - you may replace this implementation here, // or you may override this code in some or all derived classes. } public Instance_UID instance() { return this._instance ; // This is default - you may replace this implementation here, // or you may override this code in some or all derived classes. } } public interface GUID // ----------------------------------------------------------------------------- { public Generation_UID generation() ; public Instance_UID instance() ; }