Class Format
java.lang.Object
org.ivoa.dm.registry.vodataservice.Format
- All Implemented Interfaces:
 org.ivoa.vodml.jpa.JPAManipulations
@Embeddable
@VoDml(id="VODataService:Format",
       role=dataType)
public class Format
extends Object
implements org.ivoa.vodml.jpa.JPAManipulations
.
 dataType:  Format
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for Format, mainly for use in the functional builder pattern. - 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic Formatcreate a Format in functional builder style.voidReturns isMIMEType Attribute.getValue()Returns value Attribute.voidsetIsMIMEType(Boolean pIsMIMEType) Set isMIMEType Attribute.voidSet value Attribute.voidupdateUsing(Format other) Update this object with the content of the given object.withIsMIMEType(Boolean pIsMIMEType) fluent setter for isMIMEType Attribute.fluent setter for value Attribute. 
- 
Field Details
- 
value
@VoDml(id="VODataService:Format.value", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String value. : Attribute value : multiplicity 1 - 
isMIMEType
@VoDml(id="VODataService:Format.isMIMEType", role=attribute, type="ivoa:boolean", typeRole=primitiveType) protected Boolean isMIMETypeIf true, the content of the element is an RFC 2046-compliant media time. : Attribute isMIMEType : multiplicity 1 
 - 
 - 
Constructor Details
- 
Format
public Format()Creates a new Format - 
Format
full parameter constructor.- Parameters:
 value- .isMIMEType- If true, the content of the element is an RFC 2046-compliant media time.
 - 
Format
Copy Constructor. Note that references will remain as is rather than be copied.- Parameters:
 other- the object to be copied.
 
 - 
 - 
Method Details
- 
updateUsing
Update this object with the content of the given object. Note that references will remain as is rather than be copied.- Parameters:
 other- the object to be copied.
 - 
getValue
Returns value Attribute.- Returns:
 - value Attribute
 
 - 
setValue
Set value Attribute.- Parameters:
 pValue- value to set
 - 
withValue
fluent setter for value Attribute.- Parameters:
 pValue- value to set- Returns:
 - Format
 
 - 
getIsMIMEType
Returns isMIMEType Attribute.- Returns:
 - isMIMEType Attribute
 
 - 
setIsMIMEType
Set isMIMEType Attribute.- Parameters:
 pIsMIMEType- value to set
 - 
withIsMIMEType
fluent setter for isMIMEType Attribute.- Parameters:
 pIsMIMEType- value to set- Returns:
 - Format
 
 - 
createFormat
create a Format in functional builder style.- Parameters:
 f- the functional builder.- Returns:
 - an object initialized from the builder.
 
 - 
forceLoad
public void forceLoad()- Specified by:
 forceLoadin interfaceorg.ivoa.vodml.jpa.JPAManipulations
 
 -