IMetamodels Interface
Namespace: NextDesign.Core
Description
Metamodel management object.
Belonging Area
Name | Description |
---|---|
Profile | A group of APIs to access the profile. |
Property
Name | Description |
---|---|
AllClasses | List of classes |
AllEnums | List of enumerations |
AllPackages | List of packages |
Method
Name | Description |
---|---|
AddLiteral | Adds a new enumeration literal with the specified literal string to the specified enumeration. |
AddPathConstraint(string,IClass,IField,string) | Adds a path constraint to the specified field of the specified class. Note that the existence of a path that matches the path string set here is not checked. This method will end normally even if an incorrect path is specified. |
AddPathConstraint(string,string,string,string) | Adds a path constraint to the specified field of the specified class. Note that the existence of a path that matches the path string set here is not checked. This method will end normally even if an incorrect path is specified. |
AddProperty | Adds a new property to the specified class. |
AddSuperClasses(IClass,IEnumerable<IClass>) | Sets the superclasses of the specified class. |
AddSuperClasses(IClass,string,bool) | Sets the superclasses of a specified class. |
FindClassesByName(IEnumerable<string>,bool) | Finds classes with a specified class name. |
FindClassesByName(string,bool) | Finds classes with a specified class name. |
FindClassesByTag | Finds classes with a specified tag. |
FindClassesWithField | Finds classes with a specified field. |
FindEnumsByTag | Finds enums with the specified tag. |
FindPackagesByTag | Finds packages with the specified tag. |
GetClass | Gets a class with the specified name. If multiple classes with the same name are defined, returns the first one found in definition order. |
GetEnum | Gets an enum with the specified name. If multiple enums with the same name are defined, returns the first one found in definition order. |
GetSubClasses | Gets the subclasses of the specified class. |
MoveToPackage(IEnumerable<IClass>,IPackage) | Moves the specified class to the specified package. |
MoveToPackage(string,IPackage,bool) | Moves the specified class to the specified package. |
NewClass | Generates a new class. |
NewEnum(string,IEnumerable<string>,IPackage) | Generates a new enumeration type. |
NewEnum(string,string,IPackage) | Creates a new enumeration. |
NewPackage | Creates a new package. |
Relate | Creates an association between specified classes. |
RemoveClass | Removes the specified class. |
RemoveConstraint | Removes the specified constraint. |
RemoveConstraints | Remove all specified constraints. |
RemoveEnum | Remove the specified enumeration. |
RemoveLiteral | Remove the enumeration literal. |
RemovePathConstraint(IClass,IField) | Remove the path constraint for the specified field of the specified class. |
RemovePathConstraint(string,string) | Removes the path constraint for the specified field of the specified class. |
RemoveProperty | Removes a property of the specified class. |
UnRelate | Removes the association between the specified classes. |