lib/attribute/definition.js
/**
 * Attribute Definition Constructor
 * @return {Definition}
 */
Attribute Definition Constructor
@return {Definition}
Attribute Definition Constructor @return { Definition }
function AttributeDefinition( buffer ) {
  if( !(this instanceof AttributeDefinition) )
    return new AttributeDefinition( buffer )
  this.name = ''
  this.type = 0
  this.displayRule = 0
  this.collationRules = 0
  this.flags = 0
  this.minSize = 0
  this.maxSize = 0
  if( buffer != null )
    this.parse()
}
function AttributeDefinition ( buffer ) { if ( ! ( this instanceof AttributeDefinition ) ) return new AttributeDefinition ( buffer ) this . name = '' this . type = 0 this . displayRule = 0 this . collationRules = 0 this . flags = 0 this . minSize = 0 this . maxSize = 0 if ( buffer != null ) this . parse ( ) }
Attribute Definition Constructor
 @return {Definition}
Attribute Definition Constructor @return { Definition }