Table of Contents

Class NamedEntityBase

Namespace
FemDesign
Assembly
FemDesign.Core.dll
public abstract class NamedEntityBase : EntityBase, IFemDesignEntity, INamedEntity
Inheritance
NamedEntityBase
Implements
Derived
Inherited Members
Extension Methods

Constructors

NamedEntityBase()

protected NamedEntityBase()

Fields

_namePattern

protected static readonly Regex _namePattern

Field Value

Regex

_xmlName

public string _xmlName

Field Value

string

Properties

Identifier

Identifier part of the name.

public virtual string Identifier { get; set; }

Property Value

string

Instance

Instance number.

public virtual int Instance { get; }

Property Value

int

LockedIdentifier

All objects are locked automatically, otherwise FEM-Design overrides the object names.

public virtual bool LockedIdentifier { get; set; }

Property Value

bool

Name

Name of the entity. E.g. "B.42"

public virtual string Name { get; }

Property Value

string

Methods

GetUniqueInstanceCount()

This value will be used to set number (like ".1") part of the entity name (like "B.1"). Typically this is a counter starting at 1 and incrementing for each new instance of this class that has been created.

protected abstract int GetUniqueInstanceCount()

Returns

int

A unique number.