 
					
				
		
06-04-2010 06:09 AM
<constraints>
      <constraint name="ev:CodiInteressats" type="LIST">
         <parameter name="allowedValues">
            <list>
               <value>1</value>
               <value>2</value>
            </list>
         </parameter>
      </constraint>
<property name="ev:codiInteressatsDoc">
               <type>d:text</type>
               <mandatory>false</mandatory>
               <multiple>true</multiple>
               <constraints>
                  <constraint ref="ev:CodiInteressats" />
               </constraints>
            </property>
NamedValue codiIntValue = Utils.createNamedValue(
            Constants.createQNameString(
                  docModel.NAMESPACE_CONTENT_MODEL,
                  docModel.CODIINTERESSATS), document
                  .getCodiInteressat());
06-04-2010 06:45 AM
         <list>
               <value>"1"</value>
               <value>"2"</value>
         </list>
 
  
					
				
			
			
				
			
			
			
			
			
			
			
		 
					
				
		
06-07-2010 03:29 AM
06-07-2010 04:10 AM
 
					
				
		
06-07-2010 04:43 AM
public class CodiInteresats
{
    private List<String> codiInteresatList = new ArrayList<String>();
    /** 
     * Get the list of 'CodiInteresats' element items.
     * 
     * @return list
     */
    public List<String> getCodiInteresats() {
        return codiInteresatList;
    }
    /** 
     * Set the list of 'CodiInteresats' element items.
     * 
     * @param list
     */
    public void setCodiInteresats(List<String> list) {
        codiInteresatList = list;
    }
}
06-07-2010 05:28 AM
list lista = new list();for (int i=0; i<10;i++){
   lista.add(i);
}String valor = lista.get(5).toString();String valor = ""+lista.get(5);Object get(int index)
Returns the element at the specified position in this list.
 
					
				
		
06-07-2010 06:46 AM
06-07-2010 06:48 AM
 
					
				
				
			
		
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.