Java Doc for PropertyInstance.java in  » Content-Management-System » harmonise » org » openharmonise » vfs » metadata » 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 » Content Management System » harmonise » org.openharmonise.vfs.metadata 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.openharmonise.vfs.metadata.PropertyInstance

PropertyInstance
public class PropertyInstance (Code)
A property instance is an item of metadata which is attached to a virtual file.
author:
   Matthew Large
version:
   $Revision: 1.2 $



Constructor Summary
public  PropertyInstance()
    
public  PropertyInstance(String sNamespaceURI, String sName)
     Constructs a new property instance.
public  PropertyInstance(String sNamespaceURI, String sName, List aValues)
     Constructs a new property instance.

Method Summary
public  voidaddValue(ValueInstance value)
     Adds a value to this property instance.
public  voidaddValueWithoutFiringVirtualFileEvent(ValueInstance value)
     Adds a value to this property instance WITHOUT FIRING A VIRTUAL FILE EVENT.
public  voidclearAllValues()
     Clears all the values for this property instance.
public  booleanequals(Object arg0)
    
public  PropertygetDefinition()
     Returns the property which defines this property instance.
public  StringgetDefinitionPath()
     Returns the full path to the virtual file for the property which defines this property instance.
public  StringgetDefinitionVersion()
     Returns the version identifier for the property which defines this property instance.
public  StringgetName()
     Returns the name for this property instance.
public  StringgetNamespaceURI()
     Returns the namespace for this property instance.
public  ValueInstancegetNewValueInstance()
     Returns a new value of the correct concrete type for this property instance.
public  ListgetValues()
     Returns a list of the values for this property instance.
public  VirtualFilegetVirtualFile()
     Returns the virtual file which owns this property instance.
public  voidremoveValue(ValueInstance value)
     Removes a value from this property instance.
public  voidremoveValueWithoutFiringVirtualFileEvent(ValueInstance value)
     Removes a value from this property instance.
public  voidsetDefinitionPath(String sPath, String sVersion)
     Sets the version identifier and full path to the virtual file for the property which defines this property instance.
public  voidsetName(String sName)
     Sets the name for this property instance.
public  voidsetNamespaceURI(String sNamespaceURI)
     Sets the namespace for this property instance.
public  voidsetValue(ValueInstance value)
     Sets the value for this property instance.
public  voidsetValues(List aValues)
     Sets the values for this property instance.
public  voidsetVirtualFile(VirtualFile vfFile)
     Sets the virtual file which owns this property instance.
public  StringtoString()
    


Constructor Detail
PropertyInstance
public PropertyInstance()(Code)



PropertyInstance
public PropertyInstance(String sNamespaceURI, String sName)(Code)
Constructs a new property instance.
Parameters:
  sNamespaceURI - Namespace
Parameters:
  sName - Name



PropertyInstance
public PropertyInstance(String sNamespaceURI, String sName, List aValues)(Code)
Constructs a new property instance.
Parameters:
  sNamespaceURI - Namespace
Parameters:
  sName - Name
Parameters:
  aValues - List of ValueInstance objects




Method Detail
addValue
public void addValue(ValueInstance value)(Code)
Adds a value to this property instance.
Parameters:
  value - Value



addValueWithoutFiringVirtualFileEvent
public void addValueWithoutFiringVirtualFileEvent(ValueInstance value)(Code)
Adds a value to this property instance WITHOUT FIRING A VIRTUAL FILE EVENT. This is a bit of an evil cludge......use with caution, however it does do what it says on the tin!! ;D
Parameters:
  value - Value



clearAllValues
public void clearAllValues()(Code)
Clears all the values for this property instance.



equals
public boolean equals(Object arg0)(Code)



getDefinition
public Property getDefinition()(Code)
Returns the property which defines this property instance. Property



getDefinitionPath
public String getDefinitionPath()(Code)
Returns the full path to the virtual file for the property which defines this property instance. Full path



getDefinitionVersion
public String getDefinitionVersion()(Code)
Returns the version identifier for the property which defines this property instance. Version identifier



getName
public String getName()(Code)
Returns the name for this property instance. Name



getNamespaceURI
public String getNamespaceURI()(Code)
Returns the namespace for this property instance. Namespace



getNewValueInstance
public ValueInstance getNewValueInstance()(Code)
Returns a new value of the correct concrete type for this property instance. Value



getValues
public List getValues()(Code)
Returns a list of the values for this property instance. List of ValueInstance objects



getVirtualFile
public VirtualFile getVirtualFile()(Code)
Returns the virtual file which owns this property instance. Virtual file



removeValue
public void removeValue(ValueInstance value)(Code)
Removes a value from this property instance.
Parameters:
  value - Value



removeValueWithoutFiringVirtualFileEvent
public void removeValueWithoutFiringVirtualFileEvent(ValueInstance value)(Code)
Removes a value from this property instance.
Parameters:
  value - Value



setDefinitionPath
public void setDefinitionPath(String sPath, String sVersion)(Code)
Sets the version identifier and full path to the virtual file for the property which defines this property instance.
Parameters:
  sPath - Full path
Parameters:
  sVersion - Version identifier



setName
public void setName(String sName)(Code)
Sets the name for this property instance.
Parameters:
  sName - Name



setNamespaceURI
public void setNamespaceURI(String sNamespaceURI)(Code)
Sets the namespace for this property instance.
Parameters:
  sNamespaceURI - Namespace



setValue
public void setValue(ValueInstance value)(Code)
Sets the value for this property instance.
Parameters:
  value - Value



setValues
public void setValues(List aValues)(Code)
Sets the values for this property instance.
Parameters:
  aValues - List of ValueInstance objects



setVirtualFile
public void setVirtualFile(VirtualFile vfFile)(Code)
Sets the virtual file which owns this property instance.
Parameters:
  vfFile - Virtual file



toString
public String toString()(Code)



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.