info.magnolia.beancoder
Class MgnlProperty

java.lang.Object
  extended by info.magnolia.beancoder.MgnlProperty
All Implemented Interfaces:
openwfe.org.jcr.Item, openwfe.org.jcr.Property

public class MgnlProperty
extends Object
implements openwfe.org.jcr.Property

Magnolia wrapper for the property.


Constructor Summary
MgnlProperty(openwfe.org.jcr.Node parent, NodeData data)
           
 
Method Summary
 long getLong()
           
 String getName()
           
 openwfe.org.jcr.Item getParent()
           
 String getPath()
           
 InputStream getStream()
           
 String getString()
           
 openwfe.org.jcr.Value getValue()
           
 Object getWrappedInstance()
           
 boolean isNode()
           
 void save()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MgnlProperty

public MgnlProperty(openwfe.org.jcr.Node parent,
                    NodeData data)
Method Detail

getPath

public String getPath()
               throws openwfe.org.jcr.JcrException
Specified by:
getPath in interface openwfe.org.jcr.Item
Throws:
openwfe.org.jcr.JcrException

getWrappedInstance

public Object getWrappedInstance()
                          throws openwfe.org.jcr.JcrException
Specified by:
getWrappedInstance in interface openwfe.org.jcr.Item
Throws:
openwfe.org.jcr.JcrException

getValue

public openwfe.org.jcr.Value getValue()
                               throws openwfe.org.jcr.JcrException
Specified by:
getValue in interface openwfe.org.jcr.Property
Throws:
openwfe.org.jcr.JcrException

getString

public String getString()
                 throws openwfe.org.jcr.JcrException
Specified by:
getString in interface openwfe.org.jcr.Property
Throws:
openwfe.org.jcr.JcrException

getLong

public long getLong()
             throws openwfe.org.jcr.JcrException
Specified by:
getLong in interface openwfe.org.jcr.Property
Throws:
openwfe.org.jcr.JcrException

getName

public String getName()
               throws openwfe.org.jcr.JcrException
Specified by:
getName in interface openwfe.org.jcr.Item
Throws:
openwfe.org.jcr.JcrException

getParent

public openwfe.org.jcr.Item getParent()
                               throws openwfe.org.jcr.JcrException
Specified by:
getParent in interface openwfe.org.jcr.Item
Throws:
openwfe.org.jcr.JcrException

isNode

public boolean isNode()
               throws openwfe.org.jcr.JcrException
Specified by:
isNode in interface openwfe.org.jcr.Item
Throws:
openwfe.org.jcr.JcrException

save

public void save()
          throws openwfe.org.jcr.JcrException
Throws:
openwfe.org.jcr.JcrException

getStream

public InputStream getStream()
                      throws openwfe.org.jcr.JcrException
Specified by:
getStream in interface openwfe.org.jcr.Property
Throws:
openwfe.org.jcr.JcrException
See Also:
Property.getStream()


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.