public class AttributeDefinition
extends java.lang.Object
Constructor and Description |
---|
AttributeDefinition(java.lang.String _name,
java.lang.String _typeName,
boolean _mandatory,
java.lang.String _comment) |
AttributeDefinition(java.lang.String _name,
java.lang.String _typeName,
boolean _mandatory,
java.lang.String _comment,
boolean _virtual) |
AttributeDefinition(java.lang.String _name,
java.lang.String _typeName,
boolean _mandatory,
java.lang.String _comment,
boolean _virtual,
int _readonly) |
AttributeDefinition(java.lang.String _name,
java.lang.String _typeName,
boolean _mandatory,
java.lang.String _comment,
boolean _virtual,
int _readonly,
boolean _depend) |
AttributeDefinition(java.lang.String _name,
java.lang.String _typeName,
boolean _mandatory,
java.lang.String _comment,
boolean _virtual,
int _readonly,
boolean _depend,
boolean _persistent) |
Modifier and Type | Method and Description |
---|---|
electric.xml.Element |
asXMLElement() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBackrelationName() |
java.lang.String |
getBackrelationSingular() |
java.lang.String |
getComment() |
java.lang.Boolean |
getEditable() |
java.lang.String |
getGuiTipString() |
java.lang.Boolean |
getMandatory()
Returns if this
CBOAttribute is mandatory |
java.lang.String |
getName() |
java.lang.String |
getRelationType() |
java.lang.String |
getSingular() |
java.lang.String |
getTypeName() |
java.lang.Boolean |
getVirtual() |
int |
hashCode() |
boolean |
isIgnoreBackRelation() |
boolean |
isManyRelation() |
static AttributeDefinition |
manyRelationOf(java.lang.String _name,
java.lang.String _singular,
java.lang.String _typeName,
boolean _mandatory) |
static AttributeDefinition |
manyRelationOf(java.lang.String _name,
java.lang.String _singular,
java.lang.String _typeName,
boolean _mandatory,
java.lang.String _backrelationName) |
static AttributeDefinition |
manyRelationOf(java.lang.String _name,
java.lang.String _singular,
java.lang.String _typeName,
boolean _mandatory,
java.lang.String _backrelationName,
java.lang.String _comment) |
static AttributeDefinition |
manyRelationOf(java.lang.String _name,
java.lang.String _singular,
java.lang.String _typeName,
boolean _mandatory,
java.lang.String _backrelationName,
java.lang.String _comment,
boolean _ignoreBackRelation) |
static AttributeDefinition |
manyRelationOf(java.lang.String _name,
java.lang.String _singular,
java.lang.String _typeName,
boolean _mandatory,
java.lang.String _backrelationName,
java.lang.String _comment,
boolean _ignoreBackRelation,
boolean _virtual) |
static AttributeDefinition |
manyRelationOf(java.lang.String _name,
java.lang.String _singular,
java.lang.String _typeName,
boolean _mandatory,
java.lang.String _backrelationName,
java.lang.String _comment,
boolean _ignoreBackRelation,
boolean _virtual,
int _readonly) |
static AttributeDefinition |
manyRelationOf(java.lang.String _name,
java.lang.String _singular,
java.lang.String _typeName,
boolean _mandatory,
java.lang.String _backrelationName,
java.lang.String _comment,
boolean _ignoreBackRelation,
boolean _virtual,
int _readonly,
boolean _depend) |
static AttributeDefinition |
n2mRelationOf(java.lang.String _name,
java.lang.String _singular,
java.lang.String _typeName,
boolean _mandatory) |
static AttributeDefinition |
n2mRelationOf(java.lang.String _name,
java.lang.String _singular,
java.lang.String _typeName,
boolean _mandatory,
java.lang.String _backrelationName) |
static AttributeDefinition |
n2mRelationOf(java.lang.String _name,
java.lang.String _singular,
java.lang.String _typeName,
boolean _mandatory,
java.lang.String _backrelationName,
java.lang.String _comment) |
static AttributeDefinition |
n2mRelationOf(java.lang.String _name,
java.lang.String _singular,
java.lang.String _typeName,
boolean _mandatory,
java.lang.String _backrelationName,
java.lang.String _comment,
boolean _ignoreBackRelation) |
static AttributeDefinition |
n2mRelationOf(java.lang.String _name,
java.lang.String _singular,
java.lang.String _typeName,
boolean _mandatory,
java.lang.String _backrelationName,
java.lang.String _comment,
boolean _ignoreBackRelation,
boolean _virtual) |
static AttributeDefinition |
n2mRelationOf(java.lang.String _name,
java.lang.String _singular,
java.lang.String _typeName,
boolean _mandatory,
java.lang.String _backrelationName,
java.lang.String _comment,
boolean _ignoreBackRelation,
boolean _virtual,
int _readonly) |
static AttributeDefinition |
n2mRelationOf(java.lang.String _name,
java.lang.String _singular,
java.lang.String _typeName,
boolean _mandatory,
java.lang.String _backrelationName,
java.lang.String _comment,
boolean _ignoreBackRelation,
boolean _virtual,
int _readonly,
boolean _depend) |
void |
setBackrelationName(java.lang.String $6) |
void |
setBackrelationSingular(java.lang.String $7) |
void |
setComment(java.lang.String $8) |
void |
setEditable(java.lang.Boolean $10) |
void |
setGuiTipString(java.lang.String $9) |
void |
setIgnoreBackRelation(boolean $5) |
void |
setMandatory(java.lang.Boolean _mandatory)
Sets the mandatory of the
CBOAttribute |
void |
setName(java.lang.String $1) |
void |
setRelationType(java.lang.String $3) |
void |
setSingular(java.lang.String $4) |
void |
setTypeName(java.lang.String $2) |
void |
setVirtual(java.lang.Boolean _virtual) |
static AttributeDefinition |
singleRelationOf(java.lang.String _name,
java.lang.String _typeName,
boolean _mandatory,
java.lang.String _comment) |
static AttributeDefinition |
singleRelationOf(java.lang.String _name,
java.lang.String _typeName,
boolean _mandatory,
java.lang.String _comment,
boolean _ignoreBackRelation) |
static AttributeDefinition |
singleRelationOf(java.lang.String _name,
java.lang.String _typeName,
boolean _mandatory,
java.lang.String _comment,
boolean _ignoreBackRelation,
java.lang.String _backrelationName) |
static AttributeDefinition |
singleRelationOf(java.lang.String _name,
java.lang.String _typeName,
boolean _mandatory,
java.lang.String _comment,
boolean _ignoreBackRelation,
java.lang.String _backrelationName,
boolean _virtual) |
static AttributeDefinition |
singleRelationOf(java.lang.String _name,
java.lang.String _typeName,
boolean _mandatory,
java.lang.String _comment,
boolean _ignoreBackRelation,
java.lang.String _backrelationName,
boolean _virtual,
int _readonly) |
static AttributeDefinition |
singleRelationOf(java.lang.String _name,
java.lang.String _typeName,
boolean _mandatory,
java.lang.String _comment,
boolean _ignoreBackRelation,
java.lang.String _backrelationName,
boolean _virtual,
int _readonly,
boolean _persistent) |
public AttributeDefinition(java.lang.String _name, java.lang.String _typeName, boolean _mandatory, java.lang.String _comment)
public AttributeDefinition(java.lang.String _name, java.lang.String _typeName, boolean _mandatory, java.lang.String _comment, boolean _virtual)
public AttributeDefinition(java.lang.String _name, java.lang.String _typeName, boolean _mandatory, java.lang.String _comment, boolean _virtual, int _readonly)
public AttributeDefinition(java.lang.String _name, java.lang.String _typeName, boolean _mandatory, java.lang.String _comment, boolean _virtual, int _readonly, boolean _depend)
public AttributeDefinition(java.lang.String _name, java.lang.String _typeName, boolean _mandatory, java.lang.String _comment, boolean _virtual, int _readonly, boolean _depend, boolean _persistent)
public static AttributeDefinition singleRelationOf(java.lang.String _name, java.lang.String _typeName, boolean _mandatory, java.lang.String _comment)
public static AttributeDefinition singleRelationOf(java.lang.String _name, java.lang.String _typeName, boolean _mandatory, java.lang.String _comment, boolean _ignoreBackRelation)
public static AttributeDefinition singleRelationOf(java.lang.String _name, java.lang.String _typeName, boolean _mandatory, java.lang.String _comment, boolean _ignoreBackRelation, java.lang.String _backrelationName)
public static AttributeDefinition singleRelationOf(java.lang.String _name, java.lang.String _typeName, boolean _mandatory, java.lang.String _comment, boolean _ignoreBackRelation, java.lang.String _backrelationName, boolean _virtual)
public static AttributeDefinition singleRelationOf(java.lang.String _name, java.lang.String _typeName, boolean _mandatory, java.lang.String _comment, boolean _ignoreBackRelation, java.lang.String _backrelationName, boolean _virtual, int _readonly)
public static AttributeDefinition singleRelationOf(java.lang.String _name, java.lang.String _typeName, boolean _mandatory, java.lang.String _comment, boolean _ignoreBackRelation, java.lang.String _backrelationName, boolean _virtual, int _readonly, boolean _persistent)
public static AttributeDefinition manyRelationOf(java.lang.String _name, java.lang.String _singular, java.lang.String _typeName, boolean _mandatory)
public static AttributeDefinition manyRelationOf(java.lang.String _name, java.lang.String _singular, java.lang.String _typeName, boolean _mandatory, java.lang.String _backrelationName)
public static AttributeDefinition manyRelationOf(java.lang.String _name, java.lang.String _singular, java.lang.String _typeName, boolean _mandatory, java.lang.String _backrelationName, java.lang.String _comment)
public static AttributeDefinition manyRelationOf(java.lang.String _name, java.lang.String _singular, java.lang.String _typeName, boolean _mandatory, java.lang.String _backrelationName, java.lang.String _comment, boolean _ignoreBackRelation)
public static AttributeDefinition manyRelationOf(java.lang.String _name, java.lang.String _singular, java.lang.String _typeName, boolean _mandatory, java.lang.String _backrelationName, java.lang.String _comment, boolean _ignoreBackRelation, boolean _virtual)
public static AttributeDefinition manyRelationOf(java.lang.String _name, java.lang.String _singular, java.lang.String _typeName, boolean _mandatory, java.lang.String _backrelationName, java.lang.String _comment, boolean _ignoreBackRelation, boolean _virtual, int _readonly)
public static AttributeDefinition manyRelationOf(java.lang.String _name, java.lang.String _singular, java.lang.String _typeName, boolean _mandatory, java.lang.String _backrelationName, java.lang.String _comment, boolean _ignoreBackRelation, boolean _virtual, int _readonly, boolean _depend)
public static AttributeDefinition n2mRelationOf(java.lang.String _name, java.lang.String _singular, java.lang.String _typeName, boolean _mandatory)
public static AttributeDefinition n2mRelationOf(java.lang.String _name, java.lang.String _singular, java.lang.String _typeName, boolean _mandatory, java.lang.String _backrelationName)
public static AttributeDefinition n2mRelationOf(java.lang.String _name, java.lang.String _singular, java.lang.String _typeName, boolean _mandatory, java.lang.String _backrelationName, java.lang.String _comment)
public static AttributeDefinition n2mRelationOf(java.lang.String _name, java.lang.String _singular, java.lang.String _typeName, boolean _mandatory, java.lang.String _backrelationName, java.lang.String _comment, boolean _ignoreBackRelation)
public static AttributeDefinition n2mRelationOf(java.lang.String _name, java.lang.String _singular, java.lang.String _typeName, boolean _mandatory, java.lang.String _backrelationName, java.lang.String _comment, boolean _ignoreBackRelation, boolean _virtual)
public static AttributeDefinition n2mRelationOf(java.lang.String _name, java.lang.String _singular, java.lang.String _typeName, boolean _mandatory, java.lang.String _backrelationName, java.lang.String _comment, boolean _ignoreBackRelation, boolean _virtual, int _readonly)
public static AttributeDefinition n2mRelationOf(java.lang.String _name, java.lang.String _singular, java.lang.String _typeName, boolean _mandatory, java.lang.String _backrelationName, java.lang.String _comment, boolean _ignoreBackRelation, boolean _virtual, int _readonly, boolean _depend)
public void setMandatory(java.lang.Boolean _mandatory)
CBOAttribute
_mandatory
- the mandatory to set on the CBOAttribute
public java.lang.Boolean getMandatory()
CBOAttribute
is mandatoryCBOAttribute
is a mandatory attributepublic void setVirtual(java.lang.Boolean _virtual)
public java.lang.Boolean getVirtual()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public electric.xml.Element asXMLElement()
public boolean isManyRelation()
public java.lang.String getName()
public void setName(java.lang.String $1)
public java.lang.String getTypeName()
public void setTypeName(java.lang.String $2)
public java.lang.String getRelationType()
public void setRelationType(java.lang.String $3)
public java.lang.String getSingular()
public void setSingular(java.lang.String $4)
public boolean isIgnoreBackRelation()
public void setIgnoreBackRelation(boolean $5)
public java.lang.String getBackrelationName()
public void setBackrelationName(java.lang.String $6)
public java.lang.String getBackrelationSingular()
public void setBackrelationSingular(java.lang.String $7)
public java.lang.String getComment()
public void setComment(java.lang.String $8)
public java.lang.String getGuiTipString()
public void setGuiTipString(java.lang.String $9)
public java.lang.Boolean getEditable()
public void setEditable(java.lang.Boolean $10)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.