public abstract class EntryTO<T> extends BaseNameSpaceTO implements Serializable
Constructor and Description |
---|
EntryTO() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(BaseNameSpaceTO that) |
String |
getFiller()
The filler to be used with the data if it is needed to supplement the
data so that it occupies the full size.
|
int |
getIndex()
The index of the entry in the layout allowing to position the entry
relative to the rest of the entries.
|
int |
getSize()
The max size that the entry must occupy in the layout.
|
Class<T> |
getType()
The java type to be created from the parsed string from the file.
|
TypeHandler<?> |
getTypeHandler()
The type handler to be used with this entry, it overrides more
general type handlers if present.
|
void |
setFiller(String filler)
The filler to be used with the data if it is needed to supplement the
data so that it occupies the full size.
|
void |
setIndex(int index)
The index of the entry in the layout allowing to position the entry
relative to the rest of the entries.
|
void |
setSize(int size)
The max size that the entry must occupy in the layout.
|
void |
setType(Class<T> type)
The java type to be created from the parsed string from the file.
|
void |
setTypeHandler(TypeHandler<T> typeHandler)
The type handler to be used with this entry, it overrides more
general type handlers if present.
|
equals, equivalent, getFullName, getFullName, getNamePrefix, getNameSufix, getVersion, hasFullName, hashCode, setNamePrefix, setNameSufix, setVersion
public int getIndex()
public void setIndex(int index)
index
- The index of the entry in the layout.public int getSize()
public void setSize(int size)
size
- The max size that the entry must occupy in the layout.public String getFiller()
public void setFiller(String filler)
The
- filler to be used if the data is smaller than size.public Class<T> getType()
public void setType(Class<T> type)
type
- The java type to be created from the parsed string from the file.public TypeHandler<?> getTypeHandler()
public void setTypeHandler(TypeHandler<T> typeHandler)
typeHandler
- The type handler to be used with this item.public int compareTo(BaseNameSpaceTO that)
compareTo
in interface Comparable<BaseNameSpaceTO>
compareTo
in class BaseNameSpaceTO
Copyright © 2014. All Rights Reserved.