public class DatabasePrimaryKeyProperties extends Object implements Serializable
| Constructor and Description |
|---|
DatabasePrimaryKeyProperties()
Default constructor
|
DatabasePrimaryKeyProperties(DatabasePrimaryKeyProperties template)
Copy/clone constructor for a primary key.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
KeyPattern |
getKeyPattern()
Returns the key pattern for the primary key.
|
String |
getName()
Return the name for the primary key.
|
int |
hashCode()
Return has code based on properties.
|
void |
setKeyPattern(KeyPattern keyPattern)
Set up the key pattern for the primary key.
|
void |
setName(String name)
Set up name of the primary key.
|
String |
toString()
Standard toString method.
|
public DatabasePrimaryKeyProperties()
public DatabasePrimaryKeyProperties(DatabasePrimaryKeyProperties template)
template - template object to copy.public void setName(String name)
name - Stringpublic String getName()
public void setKeyPattern(KeyPattern keyPattern)
keyPattern - String namepublic KeyPattern getKeyPattern()
public String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018–2020 ODPi. All rights reserved.