public class TypeMapping extends Object implements Comparable<TypeMapping>
| Modifier and Type | Field and Description |
|---|---|
long |
maxSize
The maximum size of the MMBase type to map.
|
long |
minSize
The minimum size of the MMBase type to map.
|
String |
name
The name of the MMBase type to map
|
String |
type
The expression this type should translate to.
|
| Constructor and Description |
|---|
TypeMapping() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TypeMapping o) |
boolean |
equals(Object o) |
String |
getType(Object... messageFormatArguments)
Returns the mappings type.
|
int |
hashCode() |
void |
setFixedSize(long size)
Sets a fixed size for this TypeMapping.
|
String |
toString() |
public String type
getType(Object...) to obtain an expanded expression.public String name
public long minSize
public long maxSize
public void setFixedSize(long size)
size - the size to setpublic int compareTo(TypeMapping o)
compareTo in interface Comparable<TypeMapping>public int hashCode()
hashCode in class ObjectObject.hashCode()public String getType(Object... messageFormatArguments)
messageFormatArguments - Argument to use as arugment for the used MessageFormat.format(String, Object...).public String toString()
toString in class ObjectObject.toString()MMBase 1.9-SNAPSHOT - ${javadoctimestamp}