|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wewebu.ow.server.ecmimpl.cmis.util.OwCMISSameTypeConverter<S>
public class OwCMISSameTypeConverter<S>
OwCMISSameTypeConverter. Simple list to array converter or list to single value, and vis versa.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
| Constructor Summary | |
|---|---|
OwCMISSameTypeConverter(Class<S> oClass_p)
|
|
| Method Summary | |
|---|---|
List<S> |
fromArrayValue(S[] owdValue_p)
Converts the array back from type O to a list of type L. |
List<S> |
fromValue(S owdValue_p)
Vice-versa conversion to OwCMISValueConverter.toValue(List). |
OwCMISValueConverterClass<S,S> |
getConverterClass()
|
Class<S> |
getOClass()
Return the java.lang.Class which should be the resulting type at end of conversion. |
OwCMISValueConverter<S,S> |
newConverter(OwCMISNetwork network_p)
|
S[] |
toArrayValue(List<S> cmisValue_p)
Converts the list into an array of the resulting type. |
S[] |
toStaticArrayValue(List<S> cmisValue_p)
Statically converts the list into an array of the resulting type. |
S |
toStaticValue(List<S> cmisValue_p)
Return a statically-created (non OwCMISNetwork depended)
representation of the given List as type O or simply converts the
first entry of the list into the resulting type. |
S |
toValue(List<S> cmisValue_p)
Return a representation of the given List as type O, or simply converts the first entry of the list into the resulting type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OwCMISSameTypeConverter(Class<S> oClass_p)
| Method Detail |
|---|
public List<S> fromArrayValue(S[] owdValue_p)
OwCMISValueConverter
fromArrayValue in interface OwCMISValueConverter<S,S>owdValue_p - array of resulting type, can be null
public List<S> fromValue(S owdValue_p)
OwCMISValueConverterOwCMISValueConverter.toValue(List).
fromValue in interface OwCMISValueConverter<S,S>owdValue_p - O resulting type, can be null
public S[] toArrayValue(List<S> cmisValue_p)
OwCMISValueConverter
toArrayValue in interface OwCMISValueConverter<S,S>cmisValue_p - List to be converted
public S toValue(List<S> cmisValue_p)
OwCMISValueConverter
toValue in interface OwCMISValueConverter<S,S>cmisValue_p - List of values to convert
public Class<S> getOClass()
OwCMISValueConverterClass
getOClass in interface OwCMISValueConverterClass<S,S>public OwCMISValueConverter<S,S> newConverter(OwCMISNetwork network_p)
newConverter in interface OwCMISValueConverterClass<S,S>network_p - the OwCMISNetwork that the resulting converter depends on
public S[] toStaticArrayValue(List<S> cmisValue_p)
OwCMISValueConverterClassOwCMISNetwork depended.
toStaticArrayValue in interface OwCMISValueConverterClass<S,S>cmisValue_p - List to be converted
public S toStaticValue(List<S> cmisValue_p)
OwCMISValueConverterClassOwCMISNetwork depended)
representation of the given List as type O or simply converts the
first entry of the list into the resulting type.
toStaticValue in interface OwCMISValueConverterClass<S,S>cmisValue_p - List of values to convert
public OwCMISValueConverterClass<S,S> getConverterClass()
getConverterClass in interface OwCMISValueConverter<S,S>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||