com.wewebu.ow.server.ao
Class OwAOTypeImpl<T>

java.lang.Object
  extended by com.wewebu.ow.server.ao.OwAOTypeImpl<T>
All Implemented Interfaces:
OwAOType<T>
Direct Known Subclasses:
OwRoleManagedAOImpl

public class OwAOTypeImpl<T>
extends Object
implements OwAOType<T>

Simple implementation of OwAOType.

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

Since:
4.0.0.0

Constructor Summary
OwAOTypeImpl(int type, Class<T> classType)
           
 
Method Summary
 Class<T> getClassType()
          Class which the type will be cast to.
 int getType()
          Integer representing an specific value for the requested application object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwAOTypeImpl

public OwAOTypeImpl(int type,
                    Class<T> classType)
Method Detail

getType

public int getType()
Description copied from interface: OwAOType
Integer representing an specific value for the requested application object.

Specified by:
getType in interface OwAOType<T>
Returns:
int

getClassType

public Class<T> getClassType()
Description copied from interface: OwAOType
Class which the type will be cast to.

Specified by:
getClassType in interface OwAOType<T>
Returns:
Class


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.