Link Search Menu Expand Document

Class cveattribute

About :

	This class is a node which describes an attribute in a meta model defintion name : is the name of the attribute classifier : is the type of the attribute : vstring, vfile, vvector, vreal, vboolean, vcolor, vint, vtransform or cveitem cvedevice cvebehavior cvepackage cveclassifier cveattribute for any object of these types or a specific cveclassifier None means any type is possible cardmin : minimal cardinality of the object cardmax : maximal cardinality of the object : -1 infinite mandatory : the attribute must be defined enumeration : list of possible values enumerated : boolean stating if the current attribute is an enumerated value. Type in classifier must be "string". In this case the values of enumeration only can be used. default_value : the default value at creation readonly : if True value cannot be modified
Class diagram of class of cveattribute.

Functions

Function summury
__init__(self, name=’attribute_new’, classifier=None, cardmin=1, cardmax=1, mandatory=True, default_value=None)  
exported(self)  

Methods desciption :

init

def __init__(self, name='attribute_new', classifier=None, cardmin=1, cardmax=1, mandatory=True, default_value=None)

exported

def exported(self)