internetbillingdetails.java
来自「Sample Hibernate Shopping Cart Applicati」· Java 代码 · 共 48 行
JAVA
48 行
/*
* @(#)InternetProduct.java $LastChangedRevision$ $LastChangedDate$
* Created on Apr 28, 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.account.billing;
import java.util.Date;
import org.simplecart.account.Customer;
/**
* @version $LastChangedRevision$ $LastChangedDate$
* @author Daniel Watrous
*/
public abstract class InternetBillingDetails implements BillingDetails {
private Long id;
private Date dateCreated;
private Customer customer;
public Customer getCustomer() {
return customer;
}
public Date getDateCreated() {
return dateCreated;
}
public Long getId() {
return id;
}
// business methods implemented
public abstract boolean isValid();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?