public UicomponentAttributeType<UicomponentAttributeType<T>> getOrCreateAttribute()
   {
      List<Node> nodeList = childNode.get("attribute");
      if (nodeList != null &&  nodeList.size() > 0)
      {
         return new UicomponentAttributeTypeImpl<UicomponentAttributeType<T>>(this, "attribute", childNode, nodeList.get(0));
      }
      return createAttribute();
   }
public UicomponentAttributeType < UicomponentAttributeType < T > > getOrCreateAttribute ( ) { List < Node > nodeList = childNode . get ( "attribute" ) ; if ( nodeList != null && nodeList . size ( ) > 0 ) { return new UicomponentAttributeTypeImpl < UicomponentAttributeType < T > > ( this , "attribute" , childNode , nodeList . get ( 0 ) ) ; } return createAttribute ( ) ; }
If not already created, a new <code>attribute</code> element will be created and returned.
Otherwise, the first existing <code>attribute</code> element will be returned.
@return the instance defined for the element <code>attribute</code>