public class PrimaryKeyProperties extends Object implements Serializable
| Constructor and Description |
|---|
PrimaryKeyProperties()
Default constructor
|
PrimaryKeyProperties(PrimaryKeyProperties 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 PrimaryKeyProperties()
public PrimaryKeyProperties(PrimaryKeyProperties 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–2021 LF AI & Data Foundation. All rights reserved.