{"title":"应用程序域相关类中的策略定义","authors":"D. Poo","doi":"10.1109/TOOLS.1998.713591","DOIUrl":null,"url":null,"abstract":"The definition of classes in an object oriented system is generally specified in terms of attributes and methods since they are represented in programming languages using these constructs. However, there is other information pertinent to application domain related objects (known as policies) that are embedded in methods. Since policies are complex statements that cannot be easily represented in terms of attributes or directly translated into method definition, they are usually realized by a combination of attribute and method implementation. Also, policies are highly volatile elements easily affected by changes in the business environment. One approach as proposed in the paper is to raise the level of representation of policies in class definitions. The purpose is to make policies more distinguishable from the rest of the class definition so that any maintenance effort in accommodating changes in policy definition can be reduced. The paper discusses how policies can be defined in a class definition, the advantages of the proposed approach, and how the proposed class definition can be implemented. An example from the library domain is used to illustrate the class definition approach discussed.","PeriodicalId":177805,"journal":{"name":"Proceedings Technology of Object-Oriented Languages. TOOLS 27 (Cat. No.98EX224)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1998-09-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Policy definition in application-domain-related classes\",\"authors\":\"D. Poo\",\"doi\":\"10.1109/TOOLS.1998.713591\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The definition of classes in an object oriented system is generally specified in terms of attributes and methods since they are represented in programming languages using these constructs. However, there is other information pertinent to application domain related objects (known as policies) that are embedded in methods. Since policies are complex statements that cannot be easily represented in terms of attributes or directly translated into method definition, they are usually realized by a combination of attribute and method implementation. Also, policies are highly volatile elements easily affected by changes in the business environment. One approach as proposed in the paper is to raise the level of representation of policies in class definitions. The purpose is to make policies more distinguishable from the rest of the class definition so that any maintenance effort in accommodating changes in policy definition can be reduced. The paper discusses how policies can be defined in a class definition, the advantages of the proposed approach, and how the proposed class definition can be implemented. An example from the library domain is used to illustrate the class definition approach discussed.\",\"PeriodicalId\":177805,\"journal\":{\"name\":\"Proceedings Technology of Object-Oriented Languages. TOOLS 27 (Cat. No.98EX224)\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1998-09-22\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings Technology of Object-Oriented Languages. TOOLS 27 (Cat. No.98EX224)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/TOOLS.1998.713591\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings Technology of Object-Oriented Languages. TOOLS 27 (Cat. No.98EX224)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/TOOLS.1998.713591","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Policy definition in application-domain-related classes
The definition of classes in an object oriented system is generally specified in terms of attributes and methods since they are represented in programming languages using these constructs. However, there is other information pertinent to application domain related objects (known as policies) that are embedded in methods. Since policies are complex statements that cannot be easily represented in terms of attributes or directly translated into method definition, they are usually realized by a combination of attribute and method implementation. Also, policies are highly volatile elements easily affected by changes in the business environment. One approach as proposed in the paper is to raise the level of representation of policies in class definitions. The purpose is to make policies more distinguishable from the rest of the class definition so that any maintenance effort in accommodating changes in policy definition can be reduced. The paper discusses how policies can be defined in a class definition, the advantages of the proposed approach, and how the proposed class definition can be implemented. An example from the library domain is used to illustrate the class definition approach discussed.