📄 internetassociation.java
字号:
/*
* @(#)InternetAssociation.java $LastChangedRevision$ $LastChangedDate$
* Created on Apr 6, 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 java.util.Date;
import org.simplecart.base.Persistent;
/**
* @version $LastChangedRevision$ $LastChangedDate$
* @author Daniel Watrous
*
*/
public abstract class InternetAssociation implements CatalogItemAssociation, Persistent {
private Long id;
private Date dateAssociated = new Date();
private boolean primaryAssociation;
// JavaBean style accessors/mutators
public Long getId() {
return id;
}
public Date getDateAssociated() {
return dateAssociated;
}
public boolean isPrimaryAssociation() {
return primaryAssociation;
}
public void setPrimaryAssociation(boolean primaryAssociation) {
this.primaryAssociation = primaryAssociation;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -