Java Doc for Value.java in  » Workflow-Engines » pegasus-2.1.0 » org » griphyn » vdl » classes » 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 » Workflow Engines » pegasus 2.1.0 » org.griphyn.vdl.classes 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.griphyn.vdl.classes.VDL
   org.griphyn.vdl.classes.Value

All known Subclasses:   org.griphyn.vdl.classes.List,  org.griphyn.vdl.classes.Scalar,
Value
abstract public class Value extends VDL implements Cloneable,Serializable(Code)
This class is the base class for Scalar and List child classes.
author:
   Jens-S. Vöckler
author:
   Yong Zhao
version:
   $Revision: 50 $


Field Summary
final public static  intLIST
     Denotes a list component.
final public static  intSCALAR
     Denotes a scalar component, which is always a leaf.

Constructor Summary
public  Value()
     Default ctor.

Method Summary
abstract public  Objectclone()
     Creates and returns a copy of this object.
abstract public  booleancontainsLFN(String filename, int linkage)
     Determines if the Value contains an LFN of the specified linkage. The logic uses short-circuit evaluation, thus finding things is faster than not finding things.
abstract public  java.util.ListgetAllLFN(int linkage)
     Determines all LFN instances of a given scalar that match the specified linkage.
abstract public  intgetContainerType()
     This method determines which container is being used in the abstract base class in order to avoid typeof constructs.
abstract public  java.util.ListgetLFNList(int linkage)
     Determines all LFN instances of a given scalar that match the specified linkage.
public  StringgetName()
     Accessor method.
abstract public  StringgetSymbolicType()
     This method determines which container is being used in the abstract base class in order to kludgy statements when printing debug info.
public static  booleanisInRange(int x)
     Predicate function to determine, if a container type is within the legal range of values.
public  voidsetName(String name)
     Accessor method.

Field Detail
LIST
final public static int LIST(Code)
Denotes a list component.
See Also:   Value.getContainerType()
See Also:   List.getContainerType



SCALAR
final public static int SCALAR(Code)
Denotes a scalar component, which is always a leaf.
See Also:   Value.getContainerType()
See Also:   Scalar.getContainerType




Constructor Detail
Value
public Value()(Code)
Default ctor.




Method Detail
clone
abstract public Object clone()(Code)
Creates and returns a copy of this object. a new instance.



containsLFN
abstract public boolean containsLFN(String filename, int linkage)(Code)
Determines if the Value contains an LFN of the specified linkage. The logic uses short-circuit evaluation, thus finding things is faster than not finding things. Searching a list is a potentially expensive method.
Parameters:
  filename - is the name of the LFN
Parameters:
  linkage - is the linkage to check for, -1 for any linkage type. true if the LFN is contained in the scalar, false otherwise.
See Also:   org.griphyn.vdl.classes.LFN
See Also:   
See Also:   Derivation.containsLFN(Stringint)



getAllLFN
abstract public java.util.List getAllLFN(int linkage)(Code)
Determines all LFN instances of a given scalar that match the specified linkage. This is a higher-level method employing the given API.
Parameters:
  linkage - is the linkage to check for, -1 for all filenames. a set of logical filename instances that match the linkageand were part of the scalar. The result may be an empty set, if nosuch result were to be found.
See Also:   LFN
See Also:   



getContainerType
abstract public int getContainerType()(Code)
This method determines which container is being used in the abstract base class in order to avoid typeof constructs. either the constant to designate a Scalar, ora constant to designate a List.
See Also:   Value.SCALAR
See Also:   Value.LIST



getLFNList
abstract public java.util.List getLFNList(int linkage)(Code)
Determines all LFN instances of a given scalar that match the specified linkage. This is a higher-level method employing the given API. Note that also linkage of NONE will not be found in wildcard search mode.
Parameters:
  linkage - is the linkage to check for, -1 for all filenames. a set of all logical filenames that match the linkage andwere part of the scalar. The result may be an empty set, if no suchresult were to be found. For a linkage of -1, complete LFNs will bereturned, for any other linkage, just the filename will bereturned.
See Also:   Derivation.getLFNList(int)
See Also:   
See Also:   LFN
See Also:   



getName
public String getName()(Code)
Accessor method. Obtains the current state of the thus named attribute. the current state of the m_name attribute.
See Also:   Value.setName(String)



getSymbolicType
abstract public String getSymbolicType()(Code)
This method determines which container is being used in the abstract base class in order to kludgy statements when printing debug info. the symblic identifier for the type of the Value.



isInRange
public static boolean isInRange(int x)(Code)
Predicate function to determine, if a container type is within the legal range of values.
Parameters:
  x - is the container type true, if the type is within the legal range, orfalse, if the container type is outside legal range.
See Also:   Value.SCALAR
See Also:   Value.LIST



setName
public void setName(String name)(Code)
Accessor method. Sets the attribute of same name to a new value.
Parameters:
  name - is the new value to overwrite the current state with.
See Also:   Value.getName()




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