org.alfresco.cmis
Class CMISChoice

java.lang.Object
  extended by org.alfresco.cmis.CMISChoice

public class CMISChoice
extends java.lang.Object

Choice for property definitions


Constructor Summary
CMISChoice(java.lang.String name, java.io.Serializable value, int index)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.Collection getChildren()
          Get sub-choices
 int getIndex()
          Get the index that determined the choices position amongst it siblings
 java.lang.String getName()
          Get the name of the choice
 java.io.Serializable getValue()
          Get the value when chosen
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CMISChoice

public CMISChoice(java.lang.String name,
                  java.io.Serializable value,
                  int index)
Method Detail

getName

public java.lang.String getName()
Get the name of the choice

Returns:

getValue

public java.io.Serializable getValue()
Get the value when chosen

Returns:

getIndex

public int getIndex()
Get the index that determined the choices position amongst it siblings

Returns:

getChildren

public java.util.Collection getChildren()
Get sub-choices

Returns:

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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