public class AnnouncementFileKey extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected MediaFileType |
mediaFileType |
protected String |
name |
Constructor and Description |
---|
AnnouncementFileKey()
Serializable Constructor
|
AnnouncementFileKey(String name,
MediaFileType mediaFileType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static Element |
formRequest(Request<?> request,
AnnouncementFileKey datatype,
String elementName)
Appends this DataType to the given Request
|
static AnnouncementFileKey[] |
getArrayFromNode(Node node,
String elementName)
Retrieves an array of elements of type AnnouncementFileKey by parsing the XML node.
|
static AnnouncementFileKey |
getFromNode(Node node)
Retrieves an elements of type AnnouncementFileKey by parsing an XML node.
|
MediaFileType |
getMediaFileType() |
String |
getName() |
int |
hashCode() |
AnnouncementFileKey |
setMediaFileType(MediaFileType mediaFileType) |
AnnouncementFileKey |
setName(String name) |
@NotNull @Size(min=1, max=80) protected String name
@NotNull protected MediaFileType mediaFileType
public AnnouncementFileKey(String name, MediaFileType mediaFileType)
public AnnouncementFileKey()
public String getName()
public AnnouncementFileKey setName(String name)
public MediaFileType getMediaFileType()
public AnnouncementFileKey setMediaFileType(MediaFileType mediaFileType)
@GwtIncompatible public static Element formRequest(Request<?> request, AnnouncementFileKey datatype, String elementName)
request
- The request to append the DataType to.datatype
- The datatype to parse.@GwtIncompatible public static AnnouncementFileKey getFromNode(Node node)
node
- The source node to parse.@GwtIncompatible public static AnnouncementFileKey[] getArrayFromNode(Node node, String elementName)
node
- The source node to retrieve the array.elementName
- The element name to iterate through.Copyright © 2017 ECG. All rights reserved.