public interface Item
Modifier and Type | Method and Description |
---|---|
void |
export(Exporter exporter)
Exported representation of Item
|
java.lang.String |
getDescription() |
java.lang.String |
getKey() |
java.lang.String |
getName() |
java.lang.String |
getPageId() |
java.lang.String |
getSourceFile()
It is desirable to combine multiple COBie work books into a single import
such as a s work book from the architectural model and one from the mechanical
model.
|
java.lang.String |
getUniqueId() |
boolean |
isDuplicat(Parser parser,
Item item)
Called if an item with an identical name is found.
|
boolean |
isMatch()
Used by the loader to indicate a match to an existing record in the target system
|
void |
resolveRerefences(Parser project,
long flags)
Attempts to establish all the links specified in the various COBie sheet
|
void |
setGuidConversionFlag(boolean convert)
Determines if the parser attempts to convert base 64 ids to GUIDs
|
void |
setMatch(boolean match) |
void |
setSourceFile(java.lang.String sourceFile) |
void |
setUniqueId(java.lang.String uniqueIdentifier) |
void |
setUniqueIdConversionFlag(boolean convert)
Revid uses a UniqueID for its internal object identifications.
|
boolean |
skip(Parser parser,
long flags)
Called after the item is loaded but before it is added to a page.
|
void |
update(Item item)
Merge two instances of an object
|
boolean isDuplicat(Parser parser, Item item)
item
- java.lang.String getDescription()
java.lang.String getKey()
java.lang.String getName()
java.lang.String getPageId()
java.lang.String getSourceFile()
void setSourceFile(java.lang.String sourceFile)
void setGuidConversionFlag(boolean convert)
convert
- void setUniqueIdConversionFlag(boolean convert)
If this flag is set each external identifier is tested to determine if it is the UniqueID format and if it is, it is converted to the and export GUID.
convert
- boolean skip(Parser parser, long flags)
java.lang.String getUniqueId()
void setUniqueId(java.lang.String uniqueIdentifier)
void resolveRerefences(Parser project, long flags)
project
- flags
- void update(Item item)
Fields that are blank in the target object are updates with values for fields in the source object
item
- The source objectboolean isMatch()
void setMatch(boolean match)
void export(Exporter exporter)
exporter
- tool used to export item