Java Doc for FxGroupAssignment.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.FxGroupAssignment

All known Subclasses:   com.flexive.core.structure.FxPreloadGroupAssignment,  com.flexive.shared.structure.FxGroupAssignmentEdit,
FxGroupAssignment
public class FxGroupAssignment extends FxAssignment implements Serializable(Code)
Assignment of a (structure) group to a type or another assignment of a (structure) group
author:
   Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)


Field Summary
protected  FxGroupgroup
    
protected  GroupModemode
    

Constructor Summary
public  FxGroupAssignment(long assignmentId, boolean enabled, FxType assignedType, String alias, String xpath, int position, FxMultiplicity multiplicity, int defaultMultiplicity, FxGroupAssignment parentGroupAssignment, long baseAssignment, FxString label, FxString hint, FxGroup group, GroupMode mode, List<FxStructureOption> options)
    

Method Summary
protected  voidaddAssignment(FxAssignment as)
    
public  FxGroupAssignmentEditasEditable()
    
public  FxDatacreateEmptyData(FxGroupData parent, int index)
    
public  FxDatacreateRandomData(Random rnd, FxEnvironment env, FxGroupData parent, int index, int maxMultiplicity)
    
public  List<FxAssignment>getAllChildAssignments()
    
public  List<FxGroupAssignment>getAssignedGroups()
    
public  List<FxPropertyAssignment>getAssignedProperties()
    
public  FxAssignmentgetAssignment(List<XPathElement> XPath, String fullXPath)
    
public  List<FxAssignment>getAssignments()
    
public  FxGroupgetGroup()
    
public  GroupModegetMode()
     Get the mode used for this group.
public  FxMultiplicitygetMultiplicity()
     Get the multiplicity of this assignment.
public  FxStructureOptiongetOption(String key)
    

Field Detail
group
protected FxGroup group(Code)
The group assigned



mode
protected GroupMode mode(Code)
mode used for children




Constructor Detail
FxGroupAssignment
public FxGroupAssignment(long assignmentId, boolean enabled, FxType assignedType, String alias, String xpath, int position, FxMultiplicity multiplicity, int defaultMultiplicity, FxGroupAssignment parentGroupAssignment, long baseAssignment, FxString label, FxString hint, FxGroup group, GroupMode mode, 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
Parameters:
  defaultMultiplicity - default multiplicity
Parameters:
  parentGroupAssignment - (optional) parent FxGroupAssignment this group 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:
  group - the assigned group
Parameters:
  mode - used group mode (any-of or one-of)
Parameters:
  options - options




Method Detail
addAssignment
protected void addAssignment(FxAssignment as)(Code)
Add and sort an assignment during initialization phase
Parameters:
  as - assignment to add at the correct position



asEditable
public FxGroupAssignmentEdit asEditable()(Code)
Get this FxGroupAssignment as editable FxGroupAssignmentEdit



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)



getAllChildAssignments
public List<FxAssignment> getAllChildAssignments()(Code)
Get all assignments of this group and its subgroups all assignments of this group and its subgroups



getAssignedGroups
public List<FxGroupAssignment> getAssignedGroups()(Code)
Get all group assignments that are assigned to this assignment group assignments that are assigned to this assignment



getAssignedProperties
public List<FxPropertyAssignment> getAssignedProperties()(Code)
Get all property assignments that are assigned to this assignment property assignments that are assigned to this assignment



getAssignment
public FxAssignment getAssignment(List<XPathElement> XPath, String fullXPath) throws FxNotFoundException(Code)
Get an assignment for the given (relative to this group) XPath
Parameters:
  XPath - XPathElement array starting at this group
Parameters:
  fullXPath - the full XPath for exception reporting FxAssignment
throws:
  FxNotFoundException - if no assignment was found



getAssignments
public List<FxAssignment> getAssignments()(Code)
Get all assignments (groups and properties in correct order) that are assigned to this group group assignments that are assigned to this assignment



getGroup
public FxGroup getGroup()(Code)
Get the group this assignment relates to group this assignment relates to



getMode
public GroupMode getMode()(Code)
Get the mode used for this group. group mode used



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)



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.