| java.lang.Object com.flexive.shared.structure.FxAssignment com.flexive.shared.structure.FxPropertyAssignment
All known Subclasses: com.flexive.shared.structure.FxPropertyAssignmentEdit,
FxPropertyAssignment | public class FxPropertyAssignment extends FxAssignment implements Serializable(Code) | | Assignment of a property to a type or group
author: Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) |
Constructor Summary | |
public | FxPropertyAssignment(long assignmentId, boolean enabled, FxType assignedType, String alias, String xpath, int position, FxMultiplicity multiplicity, int defaultMultiplicity, FxGroupAssignment parentGroupAssignment, long baseAssignment, FxString label, FxString hint, FxValue defaultValue, FxProperty property, ACL ACL, long defaultLang, List<FxStructureOption> options) |
ACL | protected ACL ACL(Code) | | Overridden ACL (if the embedded property permits)
|
defaultLang | protected long defaultLang(Code) | | |
FxPropertyAssignment | public FxPropertyAssignment(long assignmentId, boolean enabled, FxType assignedType, String alias, String xpath, int position, FxMultiplicity multiplicity, int defaultMultiplicity, FxGroupAssignment parentGroupAssignment, long baseAssignment, FxString label, FxString hint, FxValue defaultValue, FxProperty property, ACL ACL, long defaultLang, List<FxStructureOption> options)(Code) | | Constructor
Parameters: assignmentId - internal id of this assignment Parameters: enabled - is this assignment enabled? Parameters: assignedType - the FxType this assignment belongs to Parameters: alias - an optional alias, if null the original name will be used Parameters: xpath - XPath relative to the assigned FxType Parameters: position - position within the same XPath hierarchy Parameters: multiplicity - multiplicity (will only be used if the embedded property allows overriding) Parameters: defaultMultiplicity - default multiplicity Parameters: parentGroupAssignment - (optional) parent FxGroupAssignment this property assignment belongs to Parameters: baseAssignment - base assignment (if derived the parent, if not the root assignment, if its a root assignment FxAssignment.ROOT_BASE) Parameters: label - (optional) label Parameters: hint - (optional) hint Parameters: defaultValue - (optional) default value Parameters: property - the assigned property Parameters: ACL - the embedded property's ACL (will only be used if the embedded property allows overriding) Parameters: defaultLang - default language if multilingual (if 0==SYSTEM then not set) Parameters: options - options |
getACL | public ACL getACL()(Code) | | Get the ACL of the embedded property. If the property does not allow overriding
ACL the original property ACL will be returned
the ACL |
getDefaultLanguage | public long getDefaultLanguage()(Code) | | Get the default language for this property assignment (if set)
default language for this property assignment (if set) |
getDefaultValue | public FxValue getDefaultValue()(Code) | | Get the default value for this assignment
FxValue |
getEmptyValue | public FxValue getEmptyValue()(Code) | | Get an empty FxValue object for this assignment
empty FxValue object |
getMultiplicity | public FxMultiplicity getMultiplicity()(Code) | | Get the multiplicity of this assignment.
Depending on if the assigned element allows overriding of its base multiplicity the base
elements multiplicity is returned or the multiplicity of the assignment
multiplicity of this assignment |
getProperty | public FxProperty getProperty()(Code) | | Get the property this assignment relates to
property this assignment relates to |
hasDefaultLanguage | public boolean hasDefaultLanguage()(Code) | | Is a default language defined for this property assignment?
if a default language is defined for this property assignment |
isInOverview | public boolean isInOverview()(Code) | | |
isMultiLang | public boolean isMultiLang()(Code) | | |
isMultiLine | public boolean isMultiLine()(Code) | | Show as multiple lines in editors?
if this property appears in multiple lines |
isSearchable | public boolean isSearchable()(Code) | | |
isUseHTMLEditor | public boolean isUseHTMLEditor()(Code) | | |
|
|