catalogitem.java

来自「Sample Hibernate Shopping Cart Applicati」· Java 代码 · 共 39 行

JAVA
39
字号
/*
 * @(#)CatalogItem.java $LastChangedRevision$ $LastChangedDate$
 * Created on March 23, 2005
 *
 * Copyright (c) 2005, Daniel Watrous
 * All rights reserved.
 * 
 * Redistribution and use in source and binary forms, with or 
 * without modification, are governed by the license found in
 * the following places:
 * license.txt included with this distribution, or
 * http://www.simplecart.org/license.html
 * 
 */

package org.simplecart.shopcart.catalog;

import org.simplecart.base.Persistent;

/**
 * 
 * @version     $LastChangedRevision$ $LastChangedDate$
 * @author      Daniel Watrous
 *
 */
public interface CatalogItem extends Persistent {
    /**
     * tell whether the implementing CatalogItem can
     * be displayed to end consumers
     * @return boolean true if consumer visible
     */
    public boolean isConsumerVisible();
    public String getName();
    public void setName(String name);
    public String getDescription();
    public void setDescription(String description);
    public SearchUtility getSearchDetails();
}

⌨️ 快捷键说明

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