Method | Description | |
---|---|---|
AddAggregateFunction ( DataContainer container, AggregateFunction aggregateFunction ) : |
||
AddConstraint ( ComparisonConstraint constraint, DataContainer container ) : void | ||
AddConstraint ( DomainConstraint constraint, DataContainer container ) : void | ||
AddConstraint ( PatternConstraint constraint, DataContainer container ) : void | ||
AddConstraint ( RangeConstraint constraint, DataContainer container ) : void | ||
AddExtendedProperty ( DataContainer container, |
||
AddGlobalizationInfo ( DataContainer container, |
||
Create ( |
Persists a compound metadata attribute in the database The attribute should have at least two other attributes as its member to be considered a compound! Also it should have at least a non empty short name. |
|
Create ( |
Persists a simple metadata attribute is the database. The method does not check duplicate names. |
|
Create ( string shortName, string name, string description, bool isMultiValue, bool isBuiltIn, string scope, MeasurementScale measurementScale, DataContainerType containerType, string entitySelectionPredicate, |
Creates a simple metadata attribute and persists it in the database
|
|
Delete ( IEnumerable |
Tries to delete all the attributes provided in the entities, supposed that they are all persisted and non built-in attributes. If by deleting the any of the entities any other compound attribute will have less than 2 members, the deletion fails. |
|
Delete ( |
Deletes the saved entity from the database. The entity should not be a built-in one. If by deleting the entity any other compound attribute will have less than 2 members, the deletion fails. |
|
MetadataAttributeManager ( ) : System | ||
RemoveAggregateFunction ( DataContainer container, AggregateFunction aggregateFunction ) : |
||
RemoveConstraint ( ComparisonConstraint constraint ) : void | ||
RemoveConstraint ( DomainConstraint constraint ) : void | ||
RemoveConstraint ( PatternConstraint constraint ) : void | ||
RemoveConstraint ( RangeConstraint constraint ) : void | ||
RemoveExtendedProperty ( |
||
RemoveGlobalizationInfo ( |
||
Update ( |
public AddAggregateFunction ( DataContainer container, AggregateFunction aggregateFunction ) : |
||
container | DataContainer | |
aggregateFunction | AggregateFunction | |
return |
public AddConstraint ( ComparisonConstraint constraint, DataContainer container ) : void | ||
constraint | ComparisonConstraint | |
container | DataContainer | |
return | void |
public AddConstraint ( DomainConstraint constraint, DataContainer container ) : void | ||
constraint | DomainConstraint | |
container | DataContainer | |
return | void |
public AddConstraint ( PatternConstraint constraint, DataContainer container ) : void | ||
constraint | PatternConstraint | |
container | DataContainer | |
return | void |
public AddConstraint ( RangeConstraint constraint, DataContainer container ) : void | ||
constraint | RangeConstraint | |
container | DataContainer | |
return | void |
public AddExtendedProperty ( DataContainer container, |
||
container | DataContainer | |
extendedProperty | ||
return |
public AddGlobalizationInfo ( DataContainer container, |
||
container | DataContainer | |
globalizationInfo | ||
return |
public Create ( |
||
entity | is an unsaved compound metadata data attribute | |
return |
public Create ( |
||
entity | is an unsaved simple metadata attribute. | |
return |
public Create ( string shortName, string name, string description, bool isMultiValue, bool isBuiltIn, string scope, MeasurementScale measurementScale, DataContainerType containerType, string entitySelectionPredicate, |
||
shortName | string | |
name | string | |
description | string | |
isMultiValue | bool | Indicates whether the attribute accepts multiple values. |
isBuiltIn | bool | If yes, the attribute is created by the system itself and is not delete-able |
scope | string | Creates a context of ownership for the attribute so that the modules, or different parts of the system can use it i.e. for filtering. |
measurementScale | MeasurementScale | |
containerType | DataContainerType | |
entitySelectionPredicate | string | |
dataType | ||
unit | ||
methodology | ||
functions | ICollection |
|
globalizationInfos | ICollection |
|
constraints | ICollection |
|
return |
public Delete ( IEnumerable |
||
entities | IEnumerable |
|
return | bool |
public Delete ( |
||
entity | ||
return | bool |
public RemoveAggregateFunction ( DataContainer container, AggregateFunction aggregateFunction ) : |
||
container | DataContainer | |
aggregateFunction | AggregateFunction | |
return |
public RemoveConstraint ( ComparisonConstraint constraint ) : void | ||
constraint | ComparisonConstraint | |
return | void |
public RemoveConstraint ( DomainConstraint constraint ) : void | ||
constraint | DomainConstraint | |
return | void |
public RemoveConstraint ( PatternConstraint constraint ) : void | ||
constraint | PatternConstraint | |
return | void |
public RemoveConstraint ( RangeConstraint constraint ) : void | ||
constraint | RangeConstraint | |
return | void |
public RemoveExtendedProperty ( |
||
extendedProperty | ||
return |
public RemoveGlobalizationInfo ( |
||
globalizationInfo | ||
return |
public Update ( |
||
entity | ||
return |