Java Doc for FxGroupAssignmentEdit.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
         com.flexive.shared.structure.FxGroupAssignmentEdit

FxGroupAssignmentEdit
public class FxGroupAssignmentEdit extends FxGroupAssignment (Code)
FxGroupAssignment for editing
author:
   Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)



Constructor Summary
public  FxGroupAssignmentEdit(FxGroupAssignment ga)
    

Method Summary
public  voidclearOption(String key)
    
public static  FxGroupAssignmentEditcreateNew(FxGroupAssignment ga, FxType type, String alias, String parentXPath, FxAssignment parent)
    
public static  FxGroupAssignmentEditcreateNew(FxGroupAssignment ga, FxType type, String alias, String parentXPath)
    
public  FxGroupEditgetGroupEdit()
     Returns the group of this assignment as editable.
public  List<FxStructureOption>getOptions()
    
public  booleanisNew()
    
public  FxGroupAssignmentEditsetAlias(String alias)
    
public  FxGroupAssignmentEditsetDefaultMultiplicity(int defaultMultiplicity)
    
public  FxGroupAssignmentEditsetEnabled(boolean enabled)
    
public  FxGroupAssignmentEditsetHint(FxString hint)
    
public  FxGroupAssignmentEditsetLabel(FxString label)
    
public  FxGroupAssignmentEditsetMode(GroupMode mode)
    
public  FxGroupAssignmentEditsetMultiplicity(FxMultiplicity multiplicity)
     Set the multiplicity of this assignment.
public  FxGroupAssignmentEditsetOption(String key, String value)
    
public  FxGroupAssignmentEditsetOption(String key, boolean value)
    
public  voidsetParentGroupAssignment(FxGroupAssignment parent)
     Sets the parent group assignment.
public  FxGroupAssignmentEditsetPosition(int position)
    
public  FxGroupAssignmentEditsetXPath(String XPath)
    


Constructor Detail
FxGroupAssignmentEdit
public FxGroupAssignmentEdit(FxGroupAssignment ga)(Code)
Ctor to make a FxGroupAssignment editable
Parameters:
  ga - FxGroupAssignment to make editable




Method Detail
clearOption
public void clearOption(String key)(Code)
Clear an option entry
Parameters:
  key - option name



createNew
public static FxGroupAssignmentEdit createNew(FxGroupAssignment ga, FxType type, String alias, String parentXPath, FxAssignment parent) throws FxNotFoundException, FxInvalidParameterException(Code)
Create a new FxGroupAssignmentEdit from an existing FxGroupAssignment as a new one for a given type with a new alias and a given parentXPath
Parameters:
  ga - original group assignment
Parameters:
  type - type to assign it
Parameters:
  alias - new alias
Parameters:
  parentXPath - parent XPath within the type to assign
Parameters:
  parent - optional parent assignment if already known new FxGroupAssignmentEdit
throws:
  com.flexive.shared.exceptions.FxNotFoundException - if parentXPath is invalid
throws:
  com.flexive.shared.exceptions.FxInvalidParameterException - if parentXPath is invalid



createNew
public static FxGroupAssignmentEdit createNew(FxGroupAssignment ga, FxType type, String alias, String parentXPath) throws FxNotFoundException, FxInvalidParameterException(Code)
Create a new FxGroupAssignmentEdit from an existing FxGroupAssignment as a new one for a given type with a new alias and a given parentXPath
Parameters:
  ga - original group assignment
Parameters:
  type - type to assign it
Parameters:
  alias - new alias
Parameters:
  parentXPath - parent XPath within the type to assign new FxGroupAssignmentEdit
throws:
  com.flexive.shared.exceptions.FxNotFoundException - if parentXPath is invalid
throws:
  com.flexive.shared.exceptions.FxInvalidParameterException - if parentXPath is invalid



getGroupEdit
public FxGroupEdit getGroupEdit()(Code)
Returns the group of this assignment as editable. the editable group object.



getOptions
public List<FxStructureOption> getOptions()(Code)
Get a (unmodifiable) list of all options set for this group assignment (unmodifiable) list of all options set for this group assignment



isNew
public boolean isNew()(Code)
Is this a new instance? new instance?



setAlias
public FxGroupAssignmentEdit setAlias(String alias) throws FxInvalidParameterException(Code)
Set a new alias, will affect the xpath as well
Parameters:
  alias - new alias this
throws:
  FxInvalidParameterException - on errors



setDefaultMultiplicity
public FxGroupAssignmentEdit setDefaultMultiplicity(int defaultMultiplicity)(Code)
Set the default multiplicity (the number of elements created upon initialization)
Parameters:
  defaultMultiplicity - the default multiplicity this



setEnabled
public FxGroupAssignmentEdit setEnabled(boolean enabled)(Code)
Set the enabled flag
Parameters:
  enabled - enabled flag this



setHint
public FxGroupAssignmentEdit setHint(FxString hint)(Code)
Set the hint message
Parameters:
  hint - hint message this



setLabel
public FxGroupAssignmentEdit setLabel(FxString label)(Code)
Set the label
Parameters:
  label - label this



setMode
public FxGroupAssignmentEdit setMode(GroupMode mode)(Code)
Set the GroupMode for this group assignment (any-of, one-of)
Parameters:
  mode - group mode this



setMultiplicity
public FxGroupAssignmentEdit setMultiplicity(FxMultiplicity multiplicity) throws FxInvalidParameterException(Code)
Set the multiplicity of this assignment. May only be set if the group this assignment belongs to allows overriding the multiplicity.
Parameters:
  multiplicity - new multiplicity this
throws:
  FxInvalidParameterException - on errors



setOption
public FxGroupAssignmentEdit setOption(String key, String value) throws FxInvalidParameterException(Code)
Set an option
Parameters:
  key - option key
Parameters:
  value - value of the option the assignment itself, useful for chained calls
throws:
  FxInvalidParameterException - if the property does not allow overriding



setOption
public FxGroupAssignmentEdit setOption(String key, boolean value) throws FxInvalidParameterException(Code)
Set a boolean option
Parameters:
  key - option key
Parameters:
  value - value of the option the assignment itself, useful for chained calls
throws:
  FxInvalidParameterException - if the property does not allow overriding



setParentGroupAssignment
public void setParentGroupAssignment(FxGroupAssignment parent)(Code)
Sets the parent group assignment.
Parameters:
  parent - the parent group assignment.



setPosition
public FxGroupAssignmentEdit setPosition(int position)(Code)
Set the new absolute position
Parameters:
  position - new absolute position this



setXPath
public FxGroupAssignmentEdit setXPath(String XPath) throws FxInvalidParameterException(Code)
Set the XPath, will affect the alias as well
Parameters:
  XPath - new XPath this
throws:
  FxInvalidParameterException - on errors



Fields inherited from com.flexive.shared.structure.FxGroupAssignment
protected FxGroup group(Code)(Java Doc)
protected GroupMode mode(Code)(Java Doc)

Methods inherited from com.flexive.shared.structure.FxGroupAssignment
protected void addAssignment(FxAssignment as)(Code)(Java Doc)
public FxGroupAssignmentEdit asEditable()(Code)(Java Doc)
public FxData createEmptyData(FxGroupData parent, int index) throws FxCreateException(Code)(Java Doc)
public FxData createRandomData(Random rnd, FxEnvironment env, FxGroupData parent, int index, int maxMultiplicity) throws FxCreateException(Code)(Java Doc)
public List<FxAssignment> getAllChildAssignments()(Code)(Java Doc)
public List<FxGroupAssignment> getAssignedGroups()(Code)(Java Doc)
public List<FxPropertyAssignment> getAssignedProperties()(Code)(Java Doc)
public FxAssignment getAssignment(List<XPathElement> XPath, String fullXPath) throws FxNotFoundException(Code)(Java Doc)
public List<FxAssignment> getAssignments()(Code)(Java Doc)
public FxGroup getGroup()(Code)(Java Doc)
public GroupMode getMode()(Code)(Java Doc)
public FxMultiplicity getMultiplicity()(Code)(Java Doc)
public FxStructureOption getOption(String key)(Code)(Java Doc)

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.