init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,39 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Sda.Modeling.Provider.Classes
|
||||
{
|
||||
internal class AssociationElement : Extendable, IAssociation
|
||||
{
|
||||
public IStartRole StartRole
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public IEndRole EndRole
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public string Name
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public IModel Model
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
|
||||
public IClass AssociationClass
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Sda.Modeling.Provider.Classes
|
||||
{
|
||||
internal class AttributeElement : Extendable, IAttribute
|
||||
{
|
||||
public string Name
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public string Type
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public string DefaultValue
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public IClass Class
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,56 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Sda.Modeling.Provider.Classes
|
||||
{
|
||||
internal class ClassElement : Extendable, IClass
|
||||
{
|
||||
public string Name
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public ICollection<IOperation> Operations
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public ICollection<IAttribute> Attributes
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public ICollection<IClass> SubClasses
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public IClass SuperClass
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public ICollection<IRole> Roles
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public IPackage Package
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public IIdentified Generalization
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Sda.Modeling.Provider.Classes
|
||||
{
|
||||
internal class EndRoleElement : Role, IEndRole
|
||||
{
|
||||
}
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Sda.Modeling.Provider.Classes
|
||||
{
|
||||
internal abstract class Extendable : Versionable, IExtendable
|
||||
{
|
||||
public ICollection<IStereotype> Stereotypes
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public ICollection<ITagValuePair> TagValues
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Sda.Modeling.Provider.Classes
|
||||
{
|
||||
sealed class Identified : IIdentified
|
||||
{
|
||||
public long LocalId { get; set; }
|
||||
|
||||
public Identified(long localId)
|
||||
{
|
||||
LocalId = localId;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Sda.Modeling.Provider.Classes
|
||||
{
|
||||
internal class ModelElement : IModel
|
||||
{
|
||||
public string Name
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public ICollection<IPackage> Packages
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public ICollection<IAssociation> Associations
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Sda.Modeling.Provider.Classes
|
||||
{
|
||||
internal class OperationElement : Extendable, IOperation
|
||||
{
|
||||
public string Name
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public ICollection<IParameter> Parameters
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public IClass Class
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,38 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Sda.Modeling.Provider.Classes
|
||||
{
|
||||
internal class PackageElement : Extendable, IPackage
|
||||
{
|
||||
public string Name
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public ICollection<IClass> Classes
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public IModel Model
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public IPackage Parent
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public ICollection<IPackage> Children
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Sda.Modeling.Provider.Classes
|
||||
{
|
||||
internal class ParameterElement : Extendable, IParameter
|
||||
{
|
||||
public string Name
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public string Type
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public string Direction
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public IOperation Operation
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,38 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Sda.Modeling.Provider.Classes
|
||||
{
|
||||
internal abstract class Role : Versionable, IRole
|
||||
{
|
||||
public string Name
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public string Multiplicity
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public bool IsNavigable
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public IClass Class
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public IAssociation Association
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Sda.Modeling.Provider.Classes
|
||||
{
|
||||
internal class StartRoleElement : Role, IStartRole
|
||||
{
|
||||
}
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Sda.Modeling.Provider.Classes
|
||||
{
|
||||
internal class Stereotype : IStereotype
|
||||
{
|
||||
public string Name
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Sda.Modeling.Provider.Classes
|
||||
{
|
||||
internal class TagValuePair : ITagValuePair
|
||||
{
|
||||
public string Name
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public string Value
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,38 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Sda.Modeling.Provider.Classes
|
||||
{
|
||||
internal abstract class Versionable : IVersionable
|
||||
{
|
||||
public string Author
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public string Documentation
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public string GlobalId
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public long LocalId
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public string Version
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue