public interface GbinTableProfile
Modifier and Type | Method and Description |
---|---|
Representation<?> |
createRepresentation(Class<?> clazz)
Returns an object which can represent a particular data type returned
from an accessor method of a GBIN object (or one of its descendants).
|
String[] |
getIgnoreMethodDeclaringClasses()
Returns the list of method-declaring classnames for which
the corresponding methods will be ignored when coming up
with a list of columns for an object.
|
String[] |
getIgnoreMethodNames()
Returns the list of method names to ignore when
coming up with a list of columns for an object.
|
String |
getNameSeparator()
Returns the separation string used to delimit parts of column
hierarchical names.
|
boolean |
isHierarchicalNames()
Indicates whether column names in the output table should be forced
to reflect the compositional hierarchy of their position in the
element objects.
|
boolean |
isReadMeta()
Indicates whether non-essential metadata is read from the GBIN file.
|
boolean |
isSortedMethods()
Indicates whether object accessor method names should be
sorted alphabetically when producing the column sequence.
|
boolean |
isTestMagic()
Indicates whether the magic number is read from GBIN files before
attempting to turn them into tables.
|
boolean isReadMeta()
boolean isTestMagic()
boolean isHierarchicalNames()
String getNameSeparator()
boolean isSortedMethods()
get*
method names will be used in
whatever sequence reflection provides them in, which
according to the Class.getMethods()
javadocs
is "not sorted and are not in any particular order".String[] getIgnoreMethodNames()
getXxx()
or isXxx()
are used in any case.
The restrictions determined by getIgnoreMethodDeclaringClasses()
also apply.String[] getIgnoreMethodDeclaringClasses()
m
for which m.getDeclaringClass()
returns a class whose name is returned by this method will not
be used to generate columns in an output table.
Only public instance methods of the form
getXxx()
or isXxx()
are used in any case.
The restrictions determined by getIgnoreMethodNames()
also apply.Representation<?> createRepresentation(Class<?> clazz)
clazz
- return type of an accessor methodCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.