Package org.bedework.jsforj.impl.values
Class JSLinkImpl
- java.lang.Object
-
- org.bedework.jsforj.impl.values.JSValueImpl
-
- org.bedework.jsforj.impl.values.JSLinkImpl
-
public class JSLinkImpl extends JSValueImpl implements JSLink
User: mike Date: 10/25/19 Time: 12:45
-
-
Field Summary
-
Fields inherited from class org.bedework.jsforj.impl.values.JSValueImpl
factory, type
-
Fields inherited from interface org.bedework.jsforj.model.values.JSLink
linkRelAlternate, linkRelAlternateDescription
-
-
Constructor Summary
Constructors Constructor Description JSLinkImpl(String type, com.fasterxml.jackson.databind.JsonNode node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetCid()StringgetContentType()StringgetDisplay()StringgetHref()StringgetRel()StringgetScheme()JSUnsignedIntegergetSize()StringgetTitle()voidsetCid(String val)voidsetContentType(String val)voidsetDisplay(String val)voidsetHref(String val)voidsetRel(String val)voidsetScheme(String val)voidsetSize(JSUnsignedInteger val)The size, in octets, of the resource when fully decoded (i.e., the number of octets in the file the user would download), if known.voidsetTitle(String val)-
Methods inherited from class org.bedework.jsforj.impl.values.JSValueImpl
assertArray, assertBooleanNode, assertIntNode, assertObject, assertStringNode, clear, getBooleanProperty, getBooleanValue, getChanged, getFactory, getNode, getObjectType, getOverrideGenerated, getOwner, getParentProperty, getProperties, getProperty, getProperty, getPropertyValue, getStringProperty, getStringValue, getType, getUnsignedIntegerProperty, getValue, hasChanges, hasProperty, isString, makeProperty, makeProperty, markOverrideGenerated, newProperty, preWrite, removeProperty, setMasterCopy, setOwner, setParentProperty, setProperty, setProperty, setProperty, setProperty, setProperty, writeValue, writeValueAsString, writeValueAsStringFormatted
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.bedework.jsforj.model.values.JSValue
clear, copy, getBooleanProperty, getBooleanValue, getChanged, getNode, getObjectType, getOverrideGenerated, getOwner, getParentProperty, getProperties, getProperty, getProperty, getPropertyValue, getStringProperty, getStringValue, getType, getUnsignedIntegerProperty, getValue, hasChanges, hasProperty, isString, makeProperty, markOverrideGenerated, newProperty, preWrite, removeProperty, setProperty, setProperty, setProperty, setProperty, setProperty, writeValue, writeValueAsString, writeValueAsStringFormatted
-
-
-
-
Constructor Detail
-
JSLinkImpl
public JSLinkImpl(String type, com.fasterxml.jackson.databind.JsonNode node)
-
-
Method Detail
-
setContentType
public void setContentType(String val)
- Specified by:
setContentTypein interfaceJSLink
-
getContentType
public String getContentType()
- Specified by:
getContentTypein interfaceJSLink
-
setSize
public void setSize(JSUnsignedInteger val)
Description copied from interface:JSLinkThe size, in octets, of the resource when fully decoded (i.e., the number of octets in the file the user would download), if known. Note that this is an informational estimate, and implementations must be prepared to handle the actual size being quite different when the resource is fetched.
-
getSize
public JSUnsignedInteger getSize()
-
setDisplay
public void setDisplay(String val)
- Specified by:
setDisplayin interfaceJSLink
-
getDisplay
public String getDisplay()
- Specified by:
getDisplayin interfaceJSLink
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classJSValueImpl
-
-