程序包 org.xmeta

类 MetaThing

java.lang.Object
org.xmeta.Thing
org.xmeta.MetaThing

public class MetaThing extends Thing

元模型,元模型是任意模型的结构的结构,元模型也称为元结构(在X-Meta中结构用描述代替)。

元模型用XML的方法表示就是:
 <thing name="thing">
     <attribute name="name"/>
     <attribute name="extends"/>
     <thing name="attribute">
         <attribute name="name"/>
     </thing/>
     <thing name="thing" extends="_root"/>
 </thing>
 
作者:
zyx
  • 字段详细资料

    • instance

      public static MetaThing instance
  • 构造器详细资料

    • MetaThing

      public MetaThing()
  • 方法详细资料

    • createThing

      public Thing createThing(String name)
    • createAttribute

      public Thing createAttribute(String name)