All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.wci.umls.server.helpers.HasAttributes Maven / Gradle / Ivy

/**
 * Copyright 2015 West Coast Informatics, LLC
 */
package com.wci.umls.server.helpers;

import java.util.List;

import com.wci.umls.server.model.content.Attribute;

/**
 * Represents a thing that has attributes.
 */
public interface HasAttributes {

  /**
   * Returns the attributes.
   *
   * @return the attributes
   */
  public List getAttributes();

  /**
   * Sets the attributes.
   *
   * @param attributes the attributes
   */
  public void setAttributes(List attributes);

  /**
   * Adds the attribute.
   *
   * @param attribute the attribute
   */
  public void addAttribute(Attribute attribute);

  /**
   * Removes the attribute.
   *
   * @param attribute the attribute
   */
  public void removeAttribute(Attribute attribute);

  /**
   * Returns the attribute by name.
   *
   * @param name the name
   * @return the attribute by name
   */
  public Attribute getAttributeByName(String name);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy