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()
DataSourceMetadata
isValidStart
in interface DataSourceMetadata
public boolean matches(DataSourceMetadata other)
DataSourceMetadata
matches
in interface DataSourceMetadata
other
- another instancepublic DataSourceMetadata plus(DataSourceMetadata other)
DataSourceMetadata
plus
in interface DataSourceMetadata
other
- another instancepublic DataSourceMetadata minus(DataSourceMetadata other)
DataSourceMetadata
minus
in interface DataSourceMetadata
other
- another instanceCopyright © 2011–2017. All rights reserved.