public class ThreadingModuleImpl extends ModuleImpl implements ThreadingModule
URI
Constructor and Description |
---|
ThreadingModuleImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a deep 'bean' clone of the object.
|
void |
copyFrom(CopyFrom copyFrom)
Copies all the properties of the given bean into this one.
|
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one as defined by the Object equals()
method.
|
String |
getHref() |
Class<? extends CopyFrom> |
getInterface()
Returns the interface the copyFrom works on.
|
String |
getRef() |
String |
getSource() |
String |
getType() |
int |
hashCode()
Returns a hashcode value for the object.
|
void |
setHref(String href) |
void |
setRef(String ref) |
void |
setSource(String source) |
void |
setType(String type) |
String |
toString()
Returns the String representation for the object.
|
getUri
public Class<? extends CopyFrom> getInterface()
CopyFrom
This is useful when dealing with properties that may have multiple implementations. For example, Module.
getInterface
in interface CopyFrom
public void copyFrom(CopyFrom copyFrom)
CopyFrom
Any existing properties in this bean are lost.
This method is useful for moving from one implementation of a bean interface to another. For example from the default SyndFeed bean implementation to a Hibernate ready implementation.
public String getRef()
getRef
in interface ThreadingModule
public void setRef(String ref)
setRef
in interface ThreadingModule
public String getType()
getType
in interface ThreadingModule
public void setType(String type)
setType
in interface ThreadingModule
public String getHref()
getHref
in interface ThreadingModule
public void setHref(String href)
setHref
in interface ThreadingModule
public String getSource()
getSource
in interface ThreadingModule
public void setSource(String source)
setSource
in interface ThreadingModule
public Object clone()
ModuleImpl
clone
in interface Module
clone
in class ModuleImpl
public boolean equals(Object obj)
ModuleImpl
equals
in class ModuleImpl
obj
- he reference object with which to compare.public int hashCode()
ModuleImpl
It follows the contract defined by the Object hashCode() method.
hashCode
in class ModuleImpl
public String toString()
ModuleImpl
toString
in class ModuleImpl
Copyright © 2019. All rights reserved.