| java.lang.Object com.flexive.shared.structure.FxStructureElement
All known Subclasses: com.flexive.shared.structure.FxProperty, com.flexive.shared.structure.FxGroup,
FxStructureElement | abstract public class FxStructureElement implements Serializable,SelectableObjectWithName(Code) | | Abstract base class for FxGroup and FxProperty
author: Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) |
overrideMultiplicity | protected boolean overrideMultiplicity(Code) | | |
referenced | protected boolean referenced(Code) | | |
FxStructureElement | protected FxStructureElement(long id, String name, FxString label, FxString hint, boolean overrideMultiplicity, FxMultiplicity multiplicity, List<FxStructureOption> options)(Code) | | Constructor
Parameters: id - id Parameters: name - name Parameters: label - label Parameters: hint - hint Parameters: overrideMultiplicity - may override base multiplicity Parameters: multiplicity - the multiplicity Parameters: options - options |
getHint | public FxString getHint()(Code) | | Get hint text for UI
hint text for UI |
getId | public long getId()(Code) | | Internal id of this element
internal id of this element |
getLabel | public FxString getLabel()(Code) | | Multilingual label of this element
label of this element |
getName | public String getName()(Code) | | Name of this element (may be overriden with an alias)
name of this element |
getOption | public FxStructureOption getOption(String key)(Code) | | Get an option entry for the given key, if the key is invalid or not found a FxStructureOption object
will be returned with set set to false , overrideable set to false and value
set to an empty String.
Parameters: key - option key the found option or an object that indicates that the option is not set |
hasOption | public boolean hasOption(String key)(Code) | | Check if an option is set for the requested key
Parameters: key - option key if an option is set for the requested key |
isReferenced | public boolean isReferenced()(Code) | | Is this element referenced? (=in use)
if this element is referenced |
mayOverrideBaseMultiplicity | public boolean mayOverrideBaseMultiplicity()(Code) | | Indicate if assignments of this element may override the default multiplicity
indicate if assignments of this element may override the default multiplicity |
setReferenced | public void setReferenced(boolean referenced)(Code) | | Set if this element is referenced (not to be called 'by hand'!!!)
Parameters: referenced - is referenced |
|
|