Class Style
- java.lang.Object
-
- org.xwiki.image.style.rest.model.jaxb.Style
-
public class Style extends Object
Image Style metadata.Java class for Style complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Style"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="prettyName" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="adjustableSize" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="defaultWidth" type="{http://www.w3.org/2001/XMLSchema}long"/> <element name="defaultHeight" type="{http://www.w3.org/2001/XMLSchema}long"/> <element name="adjustableBorder" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="defaultBorder" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="adjustableAlignment" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="defaultAlignment" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="adjustableTextWrap" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="defaultTextWrap" type="{http://www.w3.org/2001/XMLSchema}boolean"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Boolean
adjustableAlignment
protected Boolean
adjustableBorder
protected Boolean
adjustableSize
protected Boolean
adjustableTextWrap
protected String
defaultAlignment
protected Boolean
defaultBorder
protected Long
defaultHeight
protected Boolean
defaultTextWrap
protected Long
defaultWidth
protected String
identifier
protected String
prettyName
protected String
type
-
Constructor Summary
Constructors Constructor Description Style()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDefaultAlignment()
Gets the value of the defaultAlignment property.Long
getDefaultHeight()
Gets the value of the defaultHeight property.Long
getDefaultWidth()
Gets the value of the defaultWidth property.String
getIdentifier()
Gets the value of the identifier property.String
getPrettyName()
Gets the value of the prettyName property.String
getType()
Gets the value of the type property.Boolean
isAdjustableAlignment()
Gets the value of the adjustableAlignment property.Boolean
isAdjustableBorder()
Gets the value of the adjustableBorder property.Boolean
isAdjustableSize()
Gets the value of the adjustableSize property.Boolean
isAdjustableTextWrap()
Gets the value of the adjustableTextWrap property.Boolean
isDefaultBorder()
Gets the value of the defaultBorder property.Boolean
isDefaultTextWrap()
Gets the value of the defaultTextWrap property.void
setAdjustableAlignment(Boolean value)
Sets the value of the adjustableAlignment property.void
setAdjustableBorder(Boolean value)
Sets the value of the adjustableBorder property.void
setAdjustableSize(Boolean value)
Sets the value of the adjustableSize property.void
setAdjustableTextWrap(Boolean value)
Sets the value of the adjustableTextWrap property.void
setDefaultAlignment(String value)
Sets the value of the defaultAlignment property.void
setDefaultBorder(Boolean value)
Sets the value of the defaultBorder property.void
setDefaultHeight(Long value)
Sets the value of the defaultHeight property.void
setDefaultTextWrap(Boolean value)
Sets the value of the defaultTextWrap property.void
setDefaultWidth(Long value)
Sets the value of the defaultWidth property.void
setIdentifier(String value)
Sets the value of the identifier property.void
setPrettyName(String value)
Sets the value of the prettyName property.void
setType(String value)
Sets the value of the type property.Style
withAdjustableAlignment(Boolean value)
Style
withAdjustableBorder(Boolean value)
Style
withAdjustableSize(Boolean value)
Style
withAdjustableTextWrap(Boolean value)
Style
withDefaultAlignment(String value)
Style
withDefaultBorder(Boolean value)
Style
withDefaultHeight(Long value)
Style
withDefaultTextWrap(Boolean value)
Style
withDefaultWidth(Long value)
Style
withIdentifier(String value)
Style
withPrettyName(String value)
Style
withType(String value)
-
-
-
Field Detail
-
identifier
protected String identifier
-
prettyName
protected String prettyName
-
type
protected String type
-
adjustableSize
protected Boolean adjustableSize
-
defaultWidth
protected Long defaultWidth
-
defaultHeight
protected Long defaultHeight
-
adjustableBorder
protected Boolean adjustableBorder
-
defaultBorder
protected Boolean defaultBorder
-
adjustableAlignment
protected Boolean adjustableAlignment
-
defaultAlignment
protected String defaultAlignment
-
adjustableTextWrap
protected Boolean adjustableTextWrap
-
defaultTextWrap
protected Boolean defaultTextWrap
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
Gets the value of the identifier property.- Returns:
- possible object is
String
-
setIdentifier
public void setIdentifier(String value)
Sets the value of the identifier property.- Parameters:
value
- allowed object isString
-
getPrettyName
public String getPrettyName()
Gets the value of the prettyName property.- Returns:
- possible object is
String
-
setPrettyName
public void setPrettyName(String value)
Sets the value of the prettyName property.- Parameters:
value
- allowed object isString
-
getType
public String getType()
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
public void setType(String value)
Sets the value of the type property.- Parameters:
value
- allowed object isString
-
isAdjustableSize
public Boolean isAdjustableSize()
Gets the value of the adjustableSize property.- Returns:
- possible object is
Boolean
-
setAdjustableSize
public void setAdjustableSize(Boolean value)
Sets the value of the adjustableSize property.- Parameters:
value
- allowed object isBoolean
-
getDefaultWidth
public Long getDefaultWidth()
Gets the value of the defaultWidth property.- Returns:
- possible object is
Long
-
setDefaultWidth
public void setDefaultWidth(Long value)
Sets the value of the defaultWidth property.- Parameters:
value
- allowed object isLong
-
getDefaultHeight
public Long getDefaultHeight()
Gets the value of the defaultHeight property.- Returns:
- possible object is
Long
-
setDefaultHeight
public void setDefaultHeight(Long value)
Sets the value of the defaultHeight property.- Parameters:
value
- allowed object isLong
-
isAdjustableBorder
public Boolean isAdjustableBorder()
Gets the value of the adjustableBorder property.- Returns:
- possible object is
Boolean
-
setAdjustableBorder
public void setAdjustableBorder(Boolean value)
Sets the value of the adjustableBorder property.- Parameters:
value
- allowed object isBoolean
-
isDefaultBorder
public Boolean isDefaultBorder()
Gets the value of the defaultBorder property.- Returns:
- possible object is
Boolean
-
setDefaultBorder
public void setDefaultBorder(Boolean value)
Sets the value of the defaultBorder property.- Parameters:
value
- allowed object isBoolean
-
isAdjustableAlignment
public Boolean isAdjustableAlignment()
Gets the value of the adjustableAlignment property.- Returns:
- possible object is
Boolean
-
setAdjustableAlignment
public void setAdjustableAlignment(Boolean value)
Sets the value of the adjustableAlignment property.- Parameters:
value
- allowed object isBoolean
-
getDefaultAlignment
public String getDefaultAlignment()
Gets the value of the defaultAlignment property.- Returns:
- possible object is
String
-
setDefaultAlignment
public void setDefaultAlignment(String value)
Sets the value of the defaultAlignment property.- Parameters:
value
- allowed object isString
-
isAdjustableTextWrap
public Boolean isAdjustableTextWrap()
Gets the value of the adjustableTextWrap property.- Returns:
- possible object is
Boolean
-
setAdjustableTextWrap
public void setAdjustableTextWrap(Boolean value)
Sets the value of the adjustableTextWrap property.- Parameters:
value
- allowed object isBoolean
-
isDefaultTextWrap
public Boolean isDefaultTextWrap()
Gets the value of the defaultTextWrap property.- Returns:
- possible object is
Boolean
-
setDefaultTextWrap
public void setDefaultTextWrap(Boolean value)
Sets the value of the defaultTextWrap property.- Parameters:
value
- allowed object isBoolean
-
-