⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 location.java

📁 server-config-guide.rar,jboss 4.3配置及测试源码
💻 JAVA
字号:
package org.jboss.cmp2.crimeportal;

import javax.ejb.EJBLocalObject;

public interface Location extends EJBLocalObject
{
   public abstract Integer getLocationID();

    /**
    * Gets the address description.
    * @return description of the address
    */
   public abstract String getDescription();

   /**
    * Sets the address description.
    * @param description new address description
    */
   public abstract void setDescription(String description);

   /**
    * Gets the address street.
    * @return street of the address
    */
   public abstract String getStreet();

   /**
    * Sets the address street.
    * @param street new address street
    */
   public abstract void setStreet(String street);
 
   /**
    * Gets the city of the address.
    * @return city of the address
    */
   String getCity();

   /**
    * Sets the city for the address.
    * @param city the new city for the address
    */
   void setCity(String city);

   /**
    * Gets the two letter state code for the address.
    * @return the two letter state code
    */
   String getState();

   /**
    * Sets the two letter state code for the address.
    * @param state the new two letter state code for the address
    * @throws IllegalArgumentException if the state does not contain 
    * exactally two letters
    */
   void setState(String state);
   
   /**
    * Gets the zip code of the address.
    * @return the address zip code
    */
   int getZipCode();

   /**
    * Sets the zip code of the address.
    * @param zipCode the new zip code for the address
    * @throws IllegalArgumentException if the zip code is a negative number
    * or if the zipCode has more then five digits.
    */
   void setZipCode(int zipCode);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -