1 /* 2 * 3 * Copyright 2001-2011 Texas Instruments, Inc. - http://www.ti.com/ 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); 6 * you may not use this file except in compliance with the License. 7 * You may obtain a copy of the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 */ 17 18 package com.ti.jfm.core; 19 20 import com.ti.jfm.core.JFmRxCcmVacResourceOwner; 21 22 public class JFmCcmVacUnavailResourceList { 23 24 final int MAX_NUM_OF_PROPERTIES_PER_RESOURCE = 5; 25 26 private JFmRxCcmVacResourceOwner[] ccmVacResourceOwner = new JFmRxCcmVacResourceOwner[MAX_NUM_OF_PROPERTIES_PER_RESOURCE]; 27 28 private long uNumOfUnavailResources; 29 30 public JFmCcmVacUnavailResourceList() { 31 this.uNumOfUnavailResources = 0; 32 } 33 34 public JFmCcmVacUnavailResourceList(JFmRxCcmVacResourceOwner[] ccmVacResourceOwner, 35 long uNumOfUnavailResources) { 36 this.ccmVacResourceOwner = ccmVacResourceOwner; 37 this.uNumOfUnavailResources = uNumOfUnavailResources; 38 } 39 40 public JFmRxCcmVacResourceOwner[] getResourceOwner() { 41 return ccmVacResourceOwner; 42 } 43 44 public void setResourceOwner(JFmRxCcmVacResourceOwner[] resource) { 45 this.ccmVacResourceOwner = resource; 46 } 47 48 public long getNumOfUnavailResources() { 49 return uNumOfUnavailResources; 50 } 51 52 public void setNumOfUnavailResources(Long numUnavailableResource) { 53 this.uNumOfUnavailResources = numUnavailableResource; 54 } 55 56 } 57