📄 internetassociatedoption.java
字号:
/*
* @(#)InternetProduct.java $LastChangedRevision$ $LastChangedDate$
* Created on Apr 5, 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;
/**
* @version $LastChangedRevision$ $LastChangedDate$
* @author Daniel Watrous
*/
public class InternetAssociatedOption extends InternetAssociation {
private Product product;
private ProductOption productOption;
/**
* No-arg constructor for JavaBean tools
*/
InternetAssociatedOption() {}
/**
* Full constructor;
*/
public InternetAssociatedOption(Product product, ProductOption productOption) {
this.product = product;
this.productOption = productOption;
}
// JavaBean style accessors/mutators
public ProductOption getProductOption() {
return productOption;
}
public Product getProduct() {
return product;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -