public final class ObjectMetadata extends Object implements DataSourceMetadata
| Constructor and Description |
|---|
ObjectMetadata(Object theObject) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Object |
getObject() |
int |
hashCode() |
boolean |
isValidStart()
Returns true if this instance should be considered a valid starting point for a new dataSource that has
no existing metadata.
|
boolean |
matches(DataSourceMetadata other)
Returns true if any information present in this instance matches analogous information from "other" and
so they are conflict-free.
|
DataSourceMetadata |
minus(DataSourceMetadata other)
Returns a copy of this instance with "other" subtracted.
|
DataSourceMetadata |
plus(DataSourceMetadata other)
Returns a copy of this instance with "other" merged in.
|
String |
toString() |
public ObjectMetadata(Object theObject)
public Object getObject()
public boolean isValidStart()
DataSourceMetadataisValidStart in interface DataSourceMetadatapublic boolean matches(DataSourceMetadata other)
DataSourceMetadatamatches in interface DataSourceMetadataother - another instancepublic DataSourceMetadata plus(DataSourceMetadata other)
DataSourceMetadataplus in interface DataSourceMetadataother - another instancepublic DataSourceMetadata minus(DataSourceMetadata other)
DataSourceMetadataminus in interface DataSourceMetadataother - another instanceCopyright © 2011–2017. All rights reserved.