public static class AttMagic.T
extends Object
implements Serializable
Constructor and Description |
---|
AttMagic.T(LWCTypeDefinition lt)
represents a [soft] type
|
Modifier and Type | Method and Description |
---|---|
void |
addAtt(LWCFlexAttDefinition a,
LWCColumnAllocation value,
LWCColumnAllocation precision) |
void |
addAtt(LWCHardAttDefinition h) |
void |
addAtt(LWCIBAAttDefinition a) |
void |
addAtt(LWCLogicalAttDefinition la) |
void |
addAtt(LWCNonPersistedAttDefinition a) |
Map<String,AttMagic.A> |
getAllAttsInfo()
deliver info about the type's attributes
|
Map<String,AttMagic.A>[] |
getAttsInfo()
deliver info about the type's attributes, grouped by attribute type
|
String |
getName()
get the name
|
AttMagic.T |
getParent()
get parent Type
|
boolean |
isModeled()
tell if type is a softType
|
void |
setName(String newName)
set the name
|
void |
setParent(AttMagic.T p)
set parent Type
|
String |
toString()
print type's info, more elaborate if logger>=DEBUG
|
public AttMagic.T(LWCTypeDefinition lt)
lt
- the LWCTypeDefinition to hold configpublic Map<String,AttMagic.A>[] getAttsInfo()
public Map<String,AttMagic.A> getAllAttsInfo()
public boolean isModeled()
public void setName(String newName)
newName
- public String getName()
public void setParent(AttMagic.T p)
p
- public AttMagic.T getParent()
public void addAtt(LWCFlexAttDefinition a, LWCColumnAllocation value, LWCColumnAllocation precision)
public void addAtt(LWCIBAAttDefinition a)
public void addAtt(LWCHardAttDefinition h)
public void addAtt(LWCNonPersistedAttDefinition a)
public void addAtt(LWCLogicalAttDefinition la)
public String toString()
toString
in class Object