| Package | Description | 
|---|---|
| ext.sulis | All ext.sulis packages provide commercial classes developed and maintained by SULIS GmbH. this package holds common utility classes used by all other packages (and useful on their own ;-) | 
| Modifier and Type | Method and Description | 
|---|---|
| AttMagic | AttMagic. set(Map moreVals)add key/values to data map (assumes keys are Strings!) | 
| AttMagic | AttMagic. set(String key,
   Object value)add a key/value pair to the data Map - overrides existing key/values | 
| AttMagic | AttMagic. setAddAdhocIBAs(boolean addAdhocIBAs)flag if AdHoc IBAs should be read/written (default = false) | 
| AttMagic | AttMagic. setAddAlias(boolean addAlias)flag to tell if the result Map should also contain alias atts - default=false | 
| AttMagic | AttMagic. setAddCalculated(boolean addCalculated)flag to tell if the result Map should also contain calculated atts - default=false | 
| AttMagic | AttMagic. setAddMasterAtts(boolean addMasterAtts)flag if the attributes of the Master (if attHolder is RevisionControlled) should be added to result Map | 
| AttMagic | AttMagic. setAddValues(boolean addValues)flag to make AttMagic add IBAs without deleting existing values (creates multivalue) default=false | 
| AttMagic | AttMagic. setAttHolder(Object attHolder)set the Persistable to read/write atts from - can be an OBID or ObjectRef too. | 
| AttMagic | AttMagic. setCheckinMessage(String checkinMessage)override default AttMagic checkin message | 
| AttMagic | AttMagic. setCheckoutMessage(String checkoutMessage)override default AttMagic checkout message | 
| AttMagic | AttMagic. setClearMissing(boolean clear)should AttMagic clear existing values not passed in map? default=false Note: this only works with forcedUpdate=true | 
| AttMagic | AttMagic. setCreateEmpty(boolean createEmpty)should AttMagic create empty IBA values? default=false | 
| AttMagic | AttMagic. setData(Map<String,Object> values)set a new data Map NOTE: AttMagic stores a copy of the Map, so first fill it, then call this method! | 
| AttMagic | AttMagic. setDateFormat(FastDateFormat dateFormat)set new date format for date parsing | 
| AttMagic | AttMagic. setDateFormat(String dateFormat)set new date format for date parsing | 
| AttMagic | AttMagic. setDefaultForMissingAtts(String defaultForMissingAtts)if set this value will be put in the result map for missing attributes | 
| AttMagic | AttMagic. setForceCSM(boolean isCSM)flag to set if classification nodes need to be written (default = false) | 
| AttMagic | AttMagic. setForcedUpdate(boolean forcedUpdate)flag if update must happen without check-out - default=false | 
| AttMagic | AttMagic. setForcedUpdate(boolean forcedUpdate,
               boolean iterate)flag if forced update must happen - if iterate=true run forced update on a newly created iteration (same as setForcedUpdate(true).setIterate(true) ) | 
| AttMagic | AttMagic. setForceFT(boolean isFT)flag to set if family table epmdocs need to be written (default = false) | 
| AttMagic | AttMagic. setIterate(boolean iterate)flag to tell if the object should be iterated before forced update (=iterate but override constraints) | 
| AttMagic | AttMagic. setKeepCheckedOut(boolean keepCheckedOut)flag to kepp the attHolder checked-out if AttMagic checked it out for update. | 
| AttMagic | AttMagic. setMasterAttsOverride(boolean masterAttsOverride)if master adds are added to the map, should they override the iteration's values? default=false; | 
| AttMagic | AttMagic. setMultiValBehavior(int multiValBehavior)configure what to do if multivalue IBA found:
 
 MULTIVAL_ERR throws an Exception
 MULTIVAL_ANY returns the last value seen
 MULTIVAL_LIST returns a List object with the values in it
 MULTIVAL_SET returns a Set with the values in it
 
 default=MULTIVAL_ERR. | 
| AttMagic | AttMagic. setNewTypeName(String newTypeName)if set will re-type the attHolder to a different type. | 
| AttMagic | AttMagic. setQueryAtts(Set<String> attNamesSet)set a new asked-for atts set NOTE: AttMagic stores a copy of the Set, so first fill it, then call this method! | 
| AttMagic | AttMagic. setRefresh(boolean noRefresh)flag to tell if the attHolder is an IBAHolder, should it be refreshed before reading the IBAs? default=true | 
| AttMagic | AttMagic. setRemove(boolean remove)flag if the written values should be removed from the (copied) map - set to false to call same AttMagic for more than one Object | 
| AttMagic | AttMagic. setType()retype the holder with the newTypeName type | 
| AttMagic | AttMagic. setUpdateToEmpty(boolean updateToEmpty)flag to tell update to an empty value should delete the xxxvalue (default=false, consistent with old/UpdateIBAs behaviour) if set to true will update existing iba values to empty rather than delete | 
| AttMagic | AttMagic. setValidate(boolean validate)flag to force a constraint check even for forced update (not yet implemented) - default=false | 
| AttMagic | AttMagic. setWithMeta(boolean withMeta)flag if atts returned must contain meta inforamtion about the atts themselves (not yet implemented) | 
| AttMagic | AttMagic. setWithUnits(boolean withUnits)flag if the result of a float-with-unit should contain the unit too (default=true) | 
| Constructor and Description | 
|---|
| AttMagic(AttMagic template)initialize Attmagic from a template object (create a static one, set desired flag, from this construct new ones) | 
| AttMagic(Object attHolder,
        AttMagic template)create AttMagic object for a persistable from a template AttMagic objects (thus allowing to preserve settings) |