Package com.wowza.wms.amf
Class AMFDataTrait
- Object
-
- com.wowza.wms.amf.AMFDataTrait
-
public class AMFDataTrait extends Object
AMF trait used to describe an AMF class in AMF3
-
-
Constructor Summary
Constructors Constructor Description AMFDataTrait()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMember(String member)
Add a memberAMFDataTrait
clone()
clone the traitString
getClassName()
Get class nameAMFData
getInnerObj()
Get inner objectString
getMember(int i)
Get member by indexint
getMemberCount()
Get the number of membersjava.util.List<String>
getMembers()
Get a list of trait membersboolean
isDynamic()
Is class dynamicboolean
isMember(String member)
Return true if member of this traitvoid
setClassName(String className)
Set class namevoid
setDynamic(boolean isDynamic)
Set isDynamicvoid
setInnerObj(AMFData innerObj)
Set inner object
-
-
-
Method Detail
-
clone
public AMFDataTrait clone()
clone the trait- Overrides:
clone
in classObject
-
addMember
public void addMember(String member)
Add a member- Parameters:
member
- member name
-
isMember
public boolean isMember(String member)
Return true if member of this trait- Parameters:
member
- member name- Returns:
- true, if member
-
getMembers
public java.util.List<String> getMembers()
Get a list of trait members- Returns:
- list of trait members
-
getMemberCount
public int getMemberCount()
Get the number of members- Returns:
- number of members
-
getMember
public String getMember(int i)
Get member by index- Parameters:
i
- index- Returns:
- member name
-
getClassName
public String getClassName()
Get class name- Returns:
- class name
-
setClassName
public void setClassName(String className)
Set class name- Parameters:
className
- class name
-
isDynamic
public boolean isDynamic()
Is class dynamic- Returns:
- true, if dynamic
-
setDynamic
public void setDynamic(boolean isDynamic)
Set isDynamic- Parameters:
isDynamic
- true, if dynamic
-
getInnerObj
public AMFData getInnerObj()
Get inner object- Returns:
- inner object
-
setInnerObj
public void setInnerObj(AMFData innerObj)
Set inner object- Parameters:
innerObj
- inner object
-
-