Ejemplo n.º 1
0
 /** Remove a sub behaviour from this <code>SequentialBehaviour</code> */
 public void removeSubBehaviour(Behaviour b) {
   boolean rc = subBehaviours.remove(b);
   if (rc) {
     b.setParent(null);
   } else {
     // The specified behaviour was not found. Do nothing
   }
 }
Ejemplo n.º 2
0
 public boolean removeDescribedBy(Object elem) {
   boolean result = describedBy.remove(elem);
   return result;
 }
Ejemplo n.º 3
0
 public boolean removeApliesTo(Object elem) {
   boolean result = apliesTo.remove(elem);
   return result;
 }
 public boolean removeScore(Object elem) {
   boolean result = score.remove(elem);
   return result;
 }
 public boolean removeWeightedDescriptors(WeightedDescriptor elem) {
   boolean result = weightedDescriptors.remove(elem);
   pcs.firePropertyChange("weightedDescriptors", oldList, this.weightedDescriptors);
   return result;
 }
Ejemplo n.º 6
0
 /**
  * Remove a content language name from the <code>languages</code> slot collection of this object.
  *
  * @param l The content language name to remove from the collection.
  * @return A boolean, telling whether the element was present in the collection or not.
  */
 public boolean removeLanguages(String l) {
   return language.remove(l);
 }
Ejemplo n.º 7
0
 /**
  * Remove an ontology name from the <code>ontologies</code> slot collection of this object.
  *
  * @param o The ontology name to remove from the collection.
  * @return A boolean, telling whether the element was present in the collection or not.
  */
 public boolean removeOntologies(String o) {
   return ontology.remove(o);
 }
Ejemplo n.º 8
0
 /**
  * Remove a protocol name from the <code>protocols</code> slot collection of this object.
  *
  * @param ip The protocol name to remove from the collection.
  * @return A boolean, telling whether the element was present in the collection or not.
  */
 public boolean removeProtocols(String ip) {
   return interactionProtocols.remove(ip);
 }
Ejemplo n.º 9
0
 /**
  * Remove a service description from the <code>services</code> slot collection of this object.
  *
  * @param a The service description to remove from the collection.
  * @return A boolean, telling whether the element was present in the collection or not.
  */
 public boolean removeServices(ServiceDescription a) {
   return services.remove(a);
 }
 public boolean removeScore(Object elem) {
   boolean result = score.remove(elem);
   pcs.firePropertyChange("score", oldList, this.score);
   return result;
 }