Java Doc for FxPropertyAssignment.java in  » J2EE » fleXive » com » flexive » shared » structure » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » fleXive » com.flexive.shared.structure 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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)


Field Summary
protected  ACLACL
    
protected  longdefaultLang
    
protected  FxValuedefaultValue
    
protected  FxPropertyproperty
    

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)
    

Method Summary
public  FxPropertyAssignmentEditasEditable()
    
public  FxDatacreateEmptyData(FxGroupData parent, int index)
    
public  FxDatacreateRandomData(Random rnd, FxEnvironment env, FxGroupData parent, int index, int maxMultiplicity)
    
public  ACLgetACL()
     Get the ACL of the embedded property.
public  longgetDefaultLanguage()
    
public  FxValuegetDefaultValue()
    
public  FxValuegetEmptyValue()
    
public  FxMultiplicitygetMultiplicity()
     Get the multiplicity of this assignment.
public  FxStructureOptiongetOption(String key)
    
public  FxPropertygetProperty()
    
public  booleanhasDefaultLanguage()
    
public  booleanhasOption(String key)
    
public  booleanisInOverview()
    
public  booleanisMultiLang()
    
public  booleanisMultiLine()
    
public  booleanisSearchable()
    
public  booleanisUseHTMLEditor()
    
public  booleanisValid(Object value)
    

Field Detail
ACL
protected ACL ACL(Code)
Overridden ACL (if the embedded property permits)



defaultLang
protected long defaultLang(Code)



defaultValue
protected FxValue defaultValue(Code)



property
protected FxProperty property(Code)
The property assigned




Constructor Detail
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




Method Detail
asEditable
public FxPropertyAssignmentEdit asEditable()(Code)
Get this FxPropertyAssignment as editable FxPropertyAssignmentEdit



createEmptyData
public FxData createEmptyData(FxGroupData parent, int index) throws FxCreateException(Code)



createRandomData
public FxData createRandomData(Random rnd, FxEnvironment env, FxGroupData parent, int index, int maxMultiplicity) throws FxCreateException(Code)



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



getOption
public FxStructureOption getOption(String key)(Code)



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



hasOption
public boolean hasOption(String key)(Code)



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)



isValid
public boolean isValid(Object value)(Code)



Fields inherited from com.flexive.shared.structure.FxAssignment
final public static long NO_PARENT(Code)(Java Doc)
final public static long ROOT_BASE(Code)(Java Doc)
final public static int TYPE_GROUP(Code)(Java Doc)
final public static int TYPE_PROPERTY(Code)(Java Doc)
protected String XPath(Code)(Java Doc)
protected String alias(Code)(Java Doc)
protected int defaultMultiplicity(Code)(Java Doc)
protected boolean enabled(Code)(Java Doc)
protected FxString hint(Code)(Java Doc)
protected FxString label(Code)(Java Doc)
protected FxMultiplicity multiplicity(Code)(Java Doc)
List<FxStructureOption> options(Code)(Java Doc)
protected FxGroupAssignment parentGroupAssignment(Code)(Java Doc)
protected int position(Code)(Java Doc)
protected Map<FxScriptEvent, long[]> scriptMapping(Code)(Java Doc)

Methods inherited from com.flexive.shared.structure.FxAssignment
public FxAssignment _setSystemInternal()(Code)(Java Doc)
public int compareTo(FxAssignment o)(Code)(Java Doc)
abstract public FxData createEmptyData(FxGroupData parent, int index) throws FxCreateException(Code)(Java Doc)
abstract public FxData createRandomData(Random rnd, FxEnvironment env, FxGroupData parent, int index, int maxMultiplicity) throws FxCreateException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
public String getAlias()(Code)(Java Doc)
public FxType getAssignedType()(Code)(Java Doc)
public long getBaseAssignmentId()(Code)(Java Doc)
public int getDefaultMultiplicity()(Code)(Java Doc)
public FxString getDisplayLabel()(Code)(Java Doc)
public String getDisplayName()(Code)(Java Doc)
public FxString getHint()(Code)(Java Doc)
public long getId()(Code)(Java Doc)
public FxString getLabel()(Code)(Java Doc)
abstract public FxMultiplicity getMultiplicity()(Code)(Java Doc)
public FxStructureOption getOption(String key)(Code)(Java Doc)
public FxGroupAssignment getParentGroupAssignment()(Code)(Java Doc)
public int getPosition()(Code)(Java Doc)
public long[] getScriptMapping(FxScriptEvent event)(Code)(Java Doc)
public synchronized String getXPath()(Code)(Java Doc)
public boolean hasOption(String key)(Code)(Java Doc)
public boolean hasParentGroupAssignment()(Code)(Java Doc)
public boolean hasScriptMapping(FxScriptEvent event)(Code)(Java Doc)
public boolean hasScriptMappings()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public boolean isDerivedAssignment()(Code)(Java Doc)
public boolean isEnabled()(Code)(Java Doc)
public boolean isSystemInternal()(Code)(Java Doc)
public boolean isValid(Object value)(Code)(Java Doc)
public void resolveParentDependencies(List<FxAssignment> assignments)(Code)(Java Doc)
public void resolvePreloadDependencies(List<FxAssignment> assignments)(Code)(Java Doc)
public void resolveReferences(FxEnvironment environment) throws FxNotFoundException(Code)(Java Doc)
public static List<FxAssignment> sort(List<FxAssignment> assignments)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.