primaryKey
protected boolean primaryKey
Defines whether the attribute is a part of the table primary key.
ProjectNode, XMLSerializableprotected intprotected booleanprotected booleanprotected intprotected booleanprotected intprotected intDbAttribute(String name) DbAttribute(String name,
int type,
DbEntity entity) <T> TacceptVisitor(ProjectNodeVisitor<T> visitor) voidencodeAsXML(XMLEncoder encoder,
ProjectNodeVisitor delegate) getAliasedName(String alias) intintintgetScale()intgetType()booleanbooleanbooleanvoidsetAttributePrecision(int attributePrecision) voidsetGenerated(boolean generated) voidsetMandatory(boolean mandatory) voidsetMaxLength(int maxLength) voidsetPrimaryKey(boolean primaryKey) voidsetScale(int scale) voidsetType(int type) toString()AttributegetEntity in class Attribute<DbEntity, DbAttribute, DbRelationship>acceptVisitor in interface ProjectNodeencodeAsXML in interface XMLSerializableencodeAsXML in class Attribute<DbEntity, DbAttribute, DbRelationship>toString in class Attribute<DbEntity, DbAttribute, DbRelationship>