📄 propertyentitypk.java
字号:
/* * Generated by XDoclet - Do not edit! */package org.ejbca.core.ejb;/** * Primary key for BaseProperty. */public class PropertyEntityPK extends java.lang.Object implements java.io.Serializable{ public java.lang.String id; public java.lang.String property; public PropertyEntityPK() { } public PropertyEntityPK( java.lang.String id,java.lang.String property ) { this.id = id; this.property = property; } public java.lang.String getId() { return id; } public java.lang.String getProperty() { return property; } public void setId(java.lang.String id) { this.id = id; } public void setProperty(java.lang.String property) { this.property = property; } public int hashCode() { int _hashCode = 0; if (this.id != null) _hashCode += this.id.hashCode(); if (this.property != null) _hashCode += this.property.hashCode(); return _hashCode; } public boolean equals(Object obj) { if( !(obj instanceof org.ejbca.core.ejb.PropertyEntityPK) ) return false; org.ejbca.core.ejb.PropertyEntityPK pk = (org.ejbca.core.ejb.PropertyEntityPK)obj; boolean eq = true; if( obj == null ) { eq = false; } else { if( this.id != null ) { eq = eq && this.id.equals( pk.getId() ); } else // this.id == null { eq = eq && ( pk.getId() == null ); } if( this.property != null ) { eq = eq && this.property.equals( pk.getProperty() ); } else // this.property == null { eq = eq && ( pk.getProperty() == null ); } } return eq; } /** @return String representation of this pk in the form of [.field1.field2.field3]. */ public String toString() { StringBuffer toStringValue = new StringBuffer("[."); toStringValue.append(this.id).append('.'); toStringValue.append(this.property).append('.'); toStringValue.append(']'); return toStringValue.toString(); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -