|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MediaContentType
This interface represents a media content type and contains setters and getters for its properties.
| Method Summary | |
|---|---|
int |
getId()
Returns the internal id of the content type |
java.lang.String |
getValue()
Returns the value of the content type, which is a external string identifier |
boolean |
isActive()
Returns if this content type is active. |
boolean |
isBundle()
Returns if this content type is registered from a WCB |
boolean |
isElementHolder()
Returns if this content type specifies that the media item may contain elements |
void |
setId(int id)
Sets the internal id of the content type |
void |
setIsActive(boolean isActive)
Specifies if this content type is active |
void |
setIsBundle(boolean isBundle)
Specifies if this content type is registered from a WCB |
void |
setIsElementHolder(boolean hasElementHolder)
Sets if this content type specifies that the media item may contain elements |
void |
setValue(java.lang.String value)
Sets the value of the content type, which is a external string identifier |
| Method Detail |
|---|
int getId()
void setId(int id)
id - the internal id of the content typejava.lang.String getValue()
void setValue(java.lang.String value)
value - the value of the content typeboolean isElementHolder()
true if media item of this type may contain elements,
false otherwisevoid setIsElementHolder(boolean hasElementHolder)
hasElementHolder - true to specify that the media item of
this type may contain elements, false otherwiseboolean isBundle()
true if this content type is registered from a WCB,
false otherwisevoid setIsBundle(boolean isBundle)
isBundle - boolean indicating if this content type is registered from a WCB or notboolean isActive()
true if this content type is active, false otherwisevoid setIsActive(boolean isActive)
isBundle - boolean indicating if this content type is active or not
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||