| Modifier and Type | Field and Description |
|---|---|
| private static final CopyFromHelper | |
| private long | |
| private static final long | |
| private String | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: a clone of the object.Overrides java. |
| public void | copyFrom(final CopyFrom
the instance to copy properties from. obj)Implements com. |
| public boolean | Returns: true if 'this' object is equal to the 'other' object.he reference object with which to compare. other)Overrides java. |
| public Class | getInterface()
Implements com. |
| public long | Returns: the enclosure length, null if none.Implements com. |
| public String | Returns: the enclosure type, null if none.Implements com. |
| public String | Returns: the enclosure URL, null if none.Implements com. |
| public int | Returns: the hashcode of the bean object.Overrides java. |
| public void | setLength(final long
the enclosure length to set, null if none. length)Implements com. |
| public void | setType(final String
the enclosure type to set, null if none. type)Implements com. |
| public void | setUrl(final String
the enclosure URL to set, null if none. url)Implements com. |
| public String | Returns: String representation for the object.Overrides java. |
| COPY_FROM_HELPER | back to summary |
|---|---|
| private static final CopyFromHelper COPY_FROM_HELPER | |
| length | back to summary |
|---|---|
| private long length | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| type | back to summary |
|---|---|
| private String type | |
| url | back to summary |
|---|---|
| private String url | |
| SyndEnclosureImpl | back to summary |
|---|---|
| public SyndEnclosureImpl() | |
| clone | back to summary |
|---|---|
| public Object clone() throws CloneNotSupportedException Overrides java. Creates a deep 'bean' clone of the object.
| |
| copyFrom | back to summary |
|---|---|
| public void copyFrom(final CopyFrom obj) Implements com. Doc from com. Copies all the properties of the given bean into this one. 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.
| |
| equals | back to summary |
|---|---|
| public boolean equals(final Object other) Overrides java. Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
| |
| getInterface | back to summary |
|---|---|
| public Class Implements com. Doc from com. Returns the interface the copyFrom works on. This is useful when dealing with properties that may have multiple implementations. For example, Module.
| |
| getLength | back to summary |
|---|---|
| public long getLength() Implements com. Returns the enclosure length.
| |
| getType | back to summary |
|---|---|
| public String getType() Implements com. Returns the enclosure type.
| |
| getUrl | back to summary |
|---|---|
| public String getUrl() Implements com. Returns the enclosure URL.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns a hashcode value for the object. It follows the contract defined by the Object hashCode() method.
| |
| setLength | back to summary |
|---|---|
| public void setLength(final long length) Implements com. Sets the enclosure length.
| |
| setType | back to summary |
|---|---|
| public void setType(final String type) Implements com. Sets the enclosure type.
| |
| setUrl | back to summary |
|---|---|
| public void setUrl(final String url) Implements com. Sets the enclosure URL.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns the String representation for the object.
| |