org.alfresco.slingshot.web.scripts
Class NodeBrowserScript.Property

java.lang.Object
  extended by org.alfresco.slingshot.web.scripts.NodeBrowserScript.Property
Enclosing class:
NodeBrowserScript

public class NodeBrowserScript.Property
extends java.lang.Object

Property wrapper class


Nested Class Summary
 class NodeBrowserScript.Property.Value
          Value wrapper
 
Constructor Summary
NodeBrowserScript.Property(org.alfresco.service.namespace.QName qname, java.io.Serializable value)
          Construct
 
Method Summary
 NodeBrowserScript.QNameBean getName()
          Gets the property name
 java.lang.String getPrefixedName()
          Gets the prefixed property name
 boolean getResidual()
          Determines whether the property is residual
 NodeBrowserScript.QNameBean getTypeName()
           
 java.util.List getValues()
          Gets the property value
 boolean isAny()
          Determines whether the property is of ANY type
 boolean isCollection()
          Determines whether the property is a collection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeBrowserScript.Property

public NodeBrowserScript.Property(org.alfresco.service.namespace.QName qname,
                                  java.io.Serializable value)
Construct

Parameters:
name - property name
value - property values
Method Detail

getName

public NodeBrowserScript.QNameBean getName()
Gets the property name

Returns:
name

getTypeName

public NodeBrowserScript.QNameBean getTypeName()

getPrefixedName

public java.lang.String getPrefixedName()
Gets the prefixed property name

Returns:
prefixed name

getValues

public java.util.List getValues()
Gets the property value

Returns:
value

getResidual

public boolean getResidual()
Determines whether the property is residual

Returns:
true => property is not defined in dictionary

isAny

public boolean isAny()
Determines whether the property is of ANY type

Returns:
true => is any

isCollection

public boolean isCollection()
Determines whether the property is a collection

Returns:
true => is collection


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.