Package mc.core.domain.base.map.reader
Class BaseReader<T extends IBaseEntity>
java.lang.Object
mc.core.domain.base.map.reader.BaseReader<T>
- Direct Known Subclasses:
AttributeValueReader.DataValueReader,AttributeValueReader.PricelistReader,AttributeValueReader.UnitReader,ChannelMapLineExport.MapFieldReader,ClassificationReader.ClassificationAttributeReader,ComplexEntityReader.PermissionReader,ComplexEntityReader.StateReader,EntityBaseReader,NavigationReader.NavigationNodeReader,NavigationReader.RangeItemReader,RelationValueReader
read data from entity to map. POJOs for efficiency (no CDI, no injection!)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()EXPERT: set underlying entity to null to free memory.excludeNullValues(boolean excludeNullValues) EXPERT: access underlying entity.unique hash key to avoid duplicate exportlonggetId()manage()bring back reader and it's contained entity to persistence contexttoString()logging/debugging
-
Field Details
-
MAP_FIELD_CLASS
- See Also:
-
MAP_FIELD_ID
- See Also:
-
MAP_FIELD_IDREF
- See Also:
-
MAP_FIELD_KEY
- See Also:
-
-
Constructor Details
-
BaseReader
-
-
Method Details
-
getEntity
EXPERT: access underlying entity. no manage or reload! callmanage()instead -
excludeNullValues
-
getHashKey
unique hash key to avoid duplicate export -
toString
logging/debugging -
getMapName
-
getId
public long getId() -
getReferences
-
manage
bring back reader and it's contained entity to persistence context -
dispose
public void dispose()EXPERT: set underlying entity to null to free memory. further access to reader will result in IllegalStateEx -
readEntityData
-