Class AttributeSpec
Represents attribute specification in external system.
Inherited Members
Namespace: CustomPLMService.Contract.Models.Metadata
Assembly: CustomPLMService.Contract.dll
Syntax
public class AttributeSpec
Properties
ApiName
Attribute API name
Declaration
public string ApiName { get; set; }
Property Value
Type | Description |
---|---|
string |
BuiltIn
Whether attribute is built-in
Declaration
public bool BuiltIn { get; set; }
Property Value
Type | Description |
---|---|
bool |
Category
Attribute category
Declaration
public string Category { get; set; }
Property Value
Type | Description |
---|---|
string |
DataType
Attribute data type (see AttributeSpec.Datatype).
Declaration
public AttributeSpec.Datatype DataType { get; set; }
Property Value
Type | Description |
---|---|
AttributeSpec.Datatype |
Id
Attribute identifier
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
ListValues
List of possible values for the attribute. Applicable for attributes which represent non-object list values.
Declaration
public List<ListValue> ListValues { get; set; }
Property Value
Type | Description |
---|---|
List<ListValue> |
See Also
MultiValued
Whether attribute can have multiple values
Declaration
public bool MultiValued { get; set; }
Property Value
Type | Description |
---|---|
bool |
Name
Attribute display name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
ReadOnly
Whether attribute is read-only
Declaration
public bool ReadOnly { get; set; }
Property Value
Type | Description |
---|---|
bool |
Required
Whether attribute is required
Declaration
public bool Required { get; set; }
Property Value
Type | Description |
---|---|
bool |
Remarks
Required attributes must be set during object creation in external system.
UomFamilyName
Attribute unit of measure family name (applicable for Unit of Measure attributes only).
Declaration
public string UomFamilyName { get; set; }
Property Value
Type | Description |
---|---|
string |
ValuesetType
Attribute value restriction type (see ValuesetType)
Declaration
public AttributeSpec.Valueset ValuesetType { get; set; }
Property Value
Type | Description |
---|---|
AttributeSpec.Valueset |
Methods
ToString()
Provides string representation of the object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | String representation |